/*! For license information please see main.fa8c3043.js.LICENSE.txt */
(()=>{var e={740:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},197:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.default)((function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=null;return t.forEach((function(e){if(null==a){var t=e.apply(void 0,n);null!=t&&(a=t)}})),a}))};var r,a=n(534),o=(r=a)&&r.__esModule?r:{default:r};e.exports=t.default},534:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,a,o,i){var l=a||"<<anonymous>>",s=i||r;if(null==n[r])return t?new Error("Required "+o+" `"+s+"` was not specified in `"+l+"`."):null;for(var u=arguments.length,c=Array(u>6?u-6:0),d=6;d<u;d++)c[d-6]=arguments[d];return e.apply(void 0,[n,r,l,o,s].concat(c))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},497:(e,t,n)=>{"use strict";var r=n(218);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},173:(e,t,n)=>{e.exports=n(497)()},218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},730:(e,t,n)=>{"use strict";var r=n(43),a=n(853);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=v.hasOwnProperty(t)?v[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,g);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,g);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,g);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),N=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),T=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var F=Symbol.iterator;function M(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=F&&e[F]||e["@@iterator"])?e:null}var L,A=Object.assign;function I(e){if(void 0===L)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var z=!1;function U(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var a=u.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?I(e):""}function B(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function Q(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case C:return"Profiler";case j:return"StrictMode";case P:return"Suspense";case R:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _:return null!==(t=e.displayName||null)?t:Q(e.type)||"Memo";case T:t=e._payload,e=e._init;try{return Q(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q(t);case 8:return t===j?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return A({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Y(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return A({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,je=null;function Ce(e){if(e=ba(e)){if("function"!==typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=wa(t),Se(e.stateNode,e.type,t))}}function Ee(e){ke?je?je.push(e):je=[e]:ke=e}function Ne(){if(ke){var e=ke,t=je;if(je=ke=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Oe(e,t){return e(t)}function Pe(){}var Re=!1;function _e(e,t,n){if(Re)return e(t,n);Re=!0;try{return Oe(e,t,n)}finally{Re=!1,(null!==ke||null!==je)&&(Pe(),Ne())}}function Te(e,t){var n=e.stateNode;if(null===n)return null;var r=wa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var De=!1;if(c)try{var Fe={};Object.defineProperty(Fe,"passive",{get:function(){De=!0}}),window.addEventListener("test",Fe,Fe),window.removeEventListener("test",Fe,Fe)}catch(ce){De=!1}function Me(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Le=!1,Ae=null,Ie=!1,ze=null,Ue={onError:function(e){Le=!0,Ae=e}};function Be(e,t,n,r,a,o,i,l,s){Le=!1,Ae=null,Me.apply(Ue,arguments)}function Qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(Qe(e)!==e)throw Error(o(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return We(a),e;if(i===r)return We(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var Ke=a.unstable_scheduleCallback,$e=a.unstable_cancelCallback,Ge=a.unstable_shouldYield,Xe=a.unstable_requestPaint,Ye=a.unstable_now,Je=a.unstable_getCurrentPriorityLevel,Ze=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=dt(l):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,St,kt,jt,Ct,Et=!1,Nt=[],Ot=null,Pt=null,Rt=null,_t=new Map,Tt=new Map,Dt=[],Ft="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mt(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Rt=null;break;case"pointerover":case"pointerout":_t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Lt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function At(e){var t=ga(e.target);if(null!==t){var n=Qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function It(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function zt(e,t,n){It(e)&&n.delete(t)}function Ut(){Et=!1,null!==Ot&&It(Ot)&&(Ot=null),null!==Pt&&It(Pt)&&(Pt=null),null!==Rt&&It(Rt)&&(Rt=null),_t.forEach(zt),Tt.forEach(zt)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ut)))}function Qt(e){function t(t){return Bt(t,e)}if(0<Nt.length){Bt(Nt[0],e);for(var n=1;n<Nt.length;n++){var r=Nt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Bt(Ot,e),null!==Pt&&Bt(Pt,e),null!==Rt&&Bt(Rt,e),_t.forEach(t),Tt.forEach(t),n=0;n<Dt.length;n++)(r=Dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Dt.length&&null===(n=Dt[0]).blockedOn;)At(n),null===n.blockedOn&&Dt.shift()}var qt=x.ReactCurrentBatchConfig,Wt=!0;function Ht(e,t,n,r){var a=bt,o=qt.transition;qt.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=a,qt.transition=o}}function Vt(e,t,n,r){var a=bt,o=qt.transition;qt.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=a,qt.transition=o}}function Kt(e,t,n,r){if(Wt){var a=Gt(e,t,n,r);if(null===a)Wr(e,t,r,$t,n),Mt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Ot=Lt(Ot,e,t,n,r,a),!0;case"dragenter":return Pt=Lt(Pt,e,t,n,r,a),!0;case"mouseover":return Rt=Lt(Rt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return _t.set(o,Lt(_t.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Tt.set(o,Lt(Tt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<Ft.indexOf(e)){for(;null!==a;){var o=ba(a);if(null!==o&&wt(o),null===(o=Gt(e,t,n,r))&&Wr(e,t,r,$t,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var $t=null;function Gt(e,t,n,r){if($t=null,null!==(e=ga(e=we(r))))if(null===(t=Qe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $t=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,a="value"in Yt?Yt.value:Yt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Zt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return A(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(un),dn=A({},un,{view:0,detail:0}),fn=an(dn),pn=A({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=an(pn),mn=an(A({},pn,{dataTransfer:0})),vn=an(A({},dn,{relatedTarget:0})),yn=an(A({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=A({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(gn),xn=an(A({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function Cn(){return jn}var En=A({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Nn=an(En),On=an(A({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=an(A({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Rn=an(A({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),_n=A({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tn=an(_n),Dn=[9,13,27,32],Fn=c&&"CompositionEvent"in window,Mn=null;c&&"documentMode"in document&&(Mn=document.documentMode);var Ln=c&&"TextEvent"in window&&!Mn,An=c&&(!Fn||Mn&&8<Mn&&11>=Mn),In=String.fromCharCode(32),zn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Dn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Qn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Hn(e,t,n,r){Ee(r),0<(t=Vr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Kn=null;function $n(e){Ir(e,0)}function Gn(e){if(K(xa(e)))return e}function Xn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"===typeof er.oninput}Jn=Zn}else Jn=!1;Yn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Kn=Vn=null)}function nr(e){if("value"===e.propertyName&&Gn(Kn)){var t=[];Hn(t,Kn,e,we(e)),_e($n,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Kn)}function or(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function sr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,yr=null,gr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==$(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&sr(gr,r)||(gr=r,0<(r=Vr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},kr={},jr={};function Cr(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in jr)return kr[e]=n[t];return e}c&&(jr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Er=Cr("animationend"),Nr=Cr("animationiteration"),Or=Cr("animationstart"),Pr=Cr("transitionend"),Rr=new Map,_r="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Tr(e,t){Rr.set(e,t),s(t,[e])}for(var Dr=0;Dr<_r.length;Dr++){var Fr=_r[Dr];Tr(Fr.toLowerCase(),"on"+(Fr[0].toUpperCase()+Fr.slice(1)))}Tr(Er,"onAnimationEnd"),Tr(Nr,"onAnimationIteration"),Tr(Or,"onAnimationStart"),Tr("dblclick","onDoubleClick"),Tr("focusin","onFocus"),Tr("focusout","onBlur"),Tr(Pr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function Ar(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,s,u){if(Be.apply(this,arguments),Le){if(!Le)throw Error(o(198));var c=Ae;Le=!1,Ae=null,Ie||(Ie=!0,ze=c)}}(r,t,void 0,e),e.currentTarget=null}function Ir(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;Ar(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;Ar(a,l,u),o=s}}}if(Ie)throw e=ze,Ie=!1,ze=null,e}function zr(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Qr(e){if(!e[Br]){e[Br]=!0,i.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Ur("selectionchange",!1,t))}}function qr(e,t,n,r){switch(Xt(t)){case 1:var a=Ht;break;case 4:a=Vt;break;default:a=Kt}n=a.bind(null,t,n,e),a=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,a){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ga(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}_e((function(){var r=o,a=we(n),i=[];e:{var l=Rr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Nn;break;case"focusin":u="focus",s=vn;break;case"focusout":u="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Pn;break;case Er:case Nr:case Or:s=yn;break;case Pr:s=Rn;break;case"scroll":s=fn;break;case"wheel":s=Tn;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=On}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Te(h,f))&&c.push(Hr(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(u=n.relatedTarget||n.fromElement)||!ga(u)&&!u[ha])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ga(u):null)&&(u!==(d=Qe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=On,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:xa(s),p=null==u?l:xa(u),(l=new c(m,h+"leave",s,n,a)).target=d,l.relatedTarget=p,m=null,ga(a)===r&&((c=new c(f,h+"enter",u,n,a)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Kr(p))h++;for(p=0,m=f;m;m=Kr(m))p++;for(;0<h-p;)c=Kr(c),h--;for(;0<p-h;)f=Kr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Kr(c),f=Kr(f)}c=null}else c=null;null!==s&&$r(i,l,s,c,!1),null!==u&&null!==d&&$r(i,d,u,c,!0)}if("select"===(s=(l=r?xa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Xn;else if(Wn(l))if(Yn)v=ir;else{v=ar;var y=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=or);switch(v&&(v=v(e,r))?Hn(i,v,n,a):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&ee(l,"number",l.value)),y=r?xa(r):window,e){case"focusin":(Wn(y)||"true"===y.contentEditable)&&(vr=y,yr=r,gr=null);break;case"focusout":gr=yr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(i,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(i,n,a)}var g;if(Fn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Qn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(An&&"ko"!==n.locale&&(Qn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Qn&&(g=en()):(Jt="value"in(Yt=a)?Yt.value:Yt.textContent,Qn=!0)),0<(y=Vr(r,b)).length&&(b=new xn(b,e,null,n,a),i.push({event:b,listeners:y}),g?b.data=g:null!==(g=Bn(n))&&(b.data=g))),(g=Ln?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(zn=!0,In);case"textInput":return(e=t.data)===In&&zn?null:e;default:return null}}(e,n):function(e,t){if(Qn)return"compositionend"===e||!Fn&&Un(e,t)?(e=en(),Zt=Jt=Yt=null,Qn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return An&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(a=new xn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=g))}Ir(i,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Te(e,n))&&r.unshift(Hr(e,o,a)),null!=(o=Te(e,t))&&r.push(Hr(e,o,a))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $r(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=Te(n,o))&&i.unshift(Hr(n,s,l)):a||null!=(s=Te(n,o))&&i.push(Hr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Yr(e){return("string"===typeof e?e:""+e).replace(Gr,"\n").replace(Xr,"")}function Jr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(o(425))}function Zr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof Promise?Promise:void 0,ia="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oa?function(e){return oa.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function sa(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Qt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Qt(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,pa="__reactProps$"+da,ha="__reactContainer$"+da,ma="__reactEvents$"+da,va="__reactListeners$"+da,ya="__reactHandles$"+da;function ga(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[fa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[fa]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wa(e){return e[pa]||null}var Sa=[],ka=-1;function ja(e){return{current:e}}function Ca(e){0>ka||(e.current=Sa[ka],Sa[ka]=null,ka--)}function Ea(e,t){ka++,Sa[ka]=e.current,e.current=t}var Na={},Oa=ja(Na),Pa=ja(!1),Ra=Na;function _a(e,t){var n=e.type.contextTypes;if(!n)return Na;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ta(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Da(){Ca(Pa),Ca(Oa)}function Fa(e,t,n){if(Oa.current!==Na)throw Error(o(168));Ea(Oa,t),Ea(Pa,n)}function Ma(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,q(e)||"Unknown",a));return A({},n,r)}function La(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Na,Ra=Oa.current,Ea(Oa,e),Ea(Pa,Pa.current),!0}function Aa(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ma(e,t,Ra),r.__reactInternalMemoizedMergedChildContext=e,Ca(Pa),Ca(Oa),Ea(Oa,e)):Ca(Pa),Ea(Pa,n)}var Ia=null,za=!1,Ua=!1;function Ba(e){null===Ia?Ia=[e]:Ia.push(e)}function Qa(){if(!Ua&&null!==Ia){Ua=!0;var e=0,t=bt;try{var n=Ia;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ia=null,za=!1}catch(a){throw null!==Ia&&(Ia=Ia.slice(e+1)),Ke(Ze,Qa),a}finally{bt=t,Ua=!1}}return null}var qa=[],Wa=0,Ha=null,Va=0,Ka=[],$a=0,Ga=null,Xa=1,Ya="";function Ja(e,t){qa[Wa++]=Va,qa[Wa++]=Ha,Ha=e,Va=t}function Za(e,t,n){Ka[$a++]=Xa,Ka[$a++]=Ya,Ka[$a++]=Ga,Ga=e;var r=Xa;e=Ya;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Xa=1<<32-it(t)+a|n<<a|r,Ya=o+e}else Xa=1<<o|n<<a|r,Ya=e}function eo(e){null!==e.return&&(Ja(e,1),Za(e,1,0))}function to(e){for(;e===Ha;)Ha=qa[--Wa],qa[Wa]=null,Va=qa[--Wa],qa[Wa]=null;for(;e===Ga;)Ga=Ka[--$a],Ka[$a]=null,Ya=Ka[--$a],Ka[$a]=null,Xa=Ka[--$a],Ka[$a]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Tu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ga?{id:Xa,overflow:Ya}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Tu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function so(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function uo(e){if(ao){var t=ro;if(t){var n=t;if(!lo(e,t)){if(so(e))throw Error(o(418));t=ua(n.nextSibling);var r=no;t&&lo(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(so(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(so(e))throw po(),Error(o(418));for(;t;)io(e,t),t=ua(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ua(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ua(e.nextSibling)}function ho(){ro=no=null,ao=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var vo=x.ReactCurrentBatchConfig;function yo(e,t){if(e&&e.defaultProps){for(var n in t=A({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var go=ja(null),bo=null,xo=null,wo=null;function So(){wo=xo=bo=null}function ko(e){var t=go.current;Ca(go),e._currentValue=t}function jo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Co(e,t){bo=e,wo=xo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(xl=!0),e.firstContext=null)}function Eo(e){var t=e._currentValue;if(wo!==e)if(e={context:e,memoizedValue:t,next:null},null===xo){if(null===bo)throw Error(o(308));xo=e,bo.dependencies={lanes:0,firstContext:e}}else xo=xo.next=e;return t}var No=null;function Oo(e){null===No?No=[e]:No.push(e)}function Po(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Oo(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ro(e,r)}function Ro(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var _o=!1;function To(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Do(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ps)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ro(e,n)}return null===(a=r.interleaved)?(t.next=t,Oo(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ro(e,n)}function Lo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Ao(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Io(e,t,n,r){var a=e.updateQueue;_o=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=A({},d,f);break e;case 2:_o=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);As|=i,e.lanes=i,e.memoizedState=d}}function zo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(o(191,a));a.call(r)}}}var Uo=(new r.Component).refs;function Bo(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:A({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Qo={isMounted:function(e){return!!(e=e._reactInternals)&&Qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),a=nu(e),o=Fo(r,a);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Mo(e,o,a))&&(ru(t,e,a,r),Lo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),a=nu(e),o=Fo(r,a);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Mo(e,o,a))&&(ru(t,e,a,r),Lo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),a=Fo(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=Mo(e,a,r))&&(ru(t,e,r,n),Lo(t,e,r))}};function qo(e,t,n,r,a,o,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(a,o))}function Wo(e,t,n){var r=!1,a=Na,o=t.contextType;return"object"===typeof o&&null!==o?o=Eo(o):(a=Ta(t)?Ra:Oa.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?_a(e,a):Na),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Qo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ho(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Qo.enqueueReplaceState(t,t.state,null)}function Vo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Uo,To(e);var o=t.contextType;"object"===typeof o&&null!==o?a.context=Eo(o):(o=Ta(t)?Ra:Oa.current,a.context=_a(e,o)),a.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(Bo(e,t,o,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Qo.enqueueReplaceState(a,a.state,null),Io(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function Ko(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===Uo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function $o(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Go(e){return(0,e._init)(e._payload)}function Xo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Fu(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Iu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===T&&Go(o)===t.type)?((r=a(t,n.props)).ref=Ko(e,t,n),r.return=e,r):((r=Mu(n.type,n.key,n.props,null,e.mode,r)).ref=Ko(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Lu(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Iu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Mu(t.type,t.key,t.props,null,e.mode,n)).ref=Ko(e,null,t),n.return=e,n;case S:return(t=zu(t,e.mode,n)).return=e,t;case T:return f(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=Lu(t,e.mode,n,null)).return=e,t;$o(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===a?u(e,t,n,r):null;case S:return n.key===a?c(e,t,n,r):null;case T:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||M(n))return null!==a?null:d(e,t,n,r,null);$o(e,n)}return null}function h(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case T:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||M(r))return d(t,e=e.get(n)||null,r,a,null);$o(t,r)}return null}function m(a,o,l,s){for(var u=null,c=null,d=o,m=o=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var y=p(a,d,l[m],s);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,m),null===c?u=y:c.sibling=y,c=y,d=v}if(m===l.length)return n(a,d),ao&&Ja(a,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(a,l[m],s))&&(o=i(d,o,m),null===c?u=d:c.sibling=d,c=d);return ao&&Ja(a,m),u}for(d=r(a,d);m<l.length;m++)null!==(v=h(d,a,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),o=i(v,o,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(a,e)})),ao&&Ja(a,m),u}function v(a,l,s,u){var c=M(s);if("function"!==typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var d=c=null,m=l,v=l=0,y=null,g=s.next();null!==m&&!g.done;v++,g=s.next()){m.index>v?(y=m,m=null):y=m.sibling;var b=p(a,m,g.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),l=i(b,l,v),null===d?c=b:d.sibling=b,d=b,m=y}if(g.done)return n(a,m),ao&&Ja(a,v),c;if(null===m){for(;!g.done;v++,g=s.next())null!==(g=f(a,g.value,u))&&(l=i(g,l,v),null===d?c=g:d.sibling=g,d=g);return ao&&Ja(a,v),c}for(m=r(a,m);!g.done;v++,g=s.next())null!==(g=h(m,a,v,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),l=i(g,l,v),null===d?c=g:d.sibling=g,d=g);return e&&m.forEach((function(e){return t(a,e)})),ao&&Ja(a,v),c}return function e(r,o,i,s){if("object"===typeof i&&null!==i&&i.type===k&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===k){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===T&&Go(u)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=Ko(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===k?((o=Lu(i.props.children,r.mode,s,i.key)).return=r,r=o):((s=Mu(i.type,i.key,i.props,null,r.mode,s)).ref=Ko(r,o,i),s.return=r,r=s)}return l(r);case S:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=zu(i,r.mode,s)).return=r,r=o}return l(r);case T:return e(r,o,(c=i._init)(i._payload),s)}if(te(i))return m(r,o,i,s);if(M(i))return v(r,o,i,s);$o(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Iu(i,r.mode,s)).return=r,r=o),l(r)):n(r,o)}}var Yo=Xo(!0),Jo=Xo(!1),Zo={},ei=ja(Zo),ti=ja(Zo),ni=ja(Zo);function ri(e){if(e===Zo)throw Error(o(174));return e}function ai(e,t){switch(Ea(ni,t),Ea(ti,e),Ea(ei,Zo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(ei),Ea(ei,t)}function oi(){Ca(ei),Ca(ti),Ca(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(Ea(ti,e),Ea(ei,n))}function li(e){ti.current===e&&(Ca(ei),Ca(ti))}var si=ja(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var fi=x.ReactCurrentDispatcher,pi=x.ReactCurrentBatchConfig,hi=0,mi=null,vi=null,yi=null,gi=!1,bi=!1,xi=0,wi=0;function Si(){throw Error(o(321))}function ki(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function ji(e,t,n,r,a,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ll:sl,e=n(r,a),bi){i=0;do{if(bi=!1,xi=0,25<=i)throw Error(o(301));i+=1,yi=vi=null,t.updateQueue=null,fi.current=ul,e=n(r,a)}while(bi)}if(fi.current=il,t=null!==vi&&null!==vi.next,hi=0,yi=vi=mi=null,gi=!1,t)throw Error(o(300));return e}function Ci(){var e=0!==xi;return xi=0,e}function Ei(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?mi.memoizedState=yi=e:yi=yi.next=e,yi}function Ni(){if(null===vi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=vi.next;var t=null===yi?mi.memoizedState:yi.next;if(null!==t)yi=t,vi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(vi=e).memoizedState,baseState:vi.baseState,baseQueue:vi.baseQueue,queue:vi.queue,next:null},null===yi?mi.memoizedState=yi=e:yi=yi.next=e}return yi}function Oi(e,t){return"function"===typeof t?t(e):t}function Pi(e){var t=Ni(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=vi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((hi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,mi.lanes|=d,As|=d}c=c.next}while(null!==c&&c!==i);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(xl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,mi.lanes|=i,As|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ri(e){var t=Ni(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(xl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function _i(){}function Ti(e,t){var n=mi,r=Ni(),a=t(),i=!lr(r.memoizedState,a);if(i&&(r.memoizedState=a,xl=!0),r=r.queue,Wi(Mi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(n.flags|=2048,zi(9,Fi.bind(null,n,r,a,t),void 0,null),null===Rs)throw Error(o(349));0!==(30&hi)||Di(n,t,a)}return a}function Di(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Fi(e,t,n,r){t.value=n,t.getSnapshot=r,Li(t)&&Ai(e)}function Mi(e,t,n){return n((function(){Li(t)&&Ai(e)}))}function Li(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function Ai(e){var t=Ro(e,1);null!==t&&ru(t,e,1,-1)}function Ii(e){var t=Ei();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Oi,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,mi,e),[t.memoizedState,e]}function zi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ui(){return Ni().memoizedState}function Bi(e,t,n,r){var a=Ei();mi.flags|=e,a.memoizedState=zi(1|t,n,void 0,void 0===r?null:r)}function Qi(e,t,n,r){var a=Ni();r=void 0===r?null:r;var o=void 0;if(null!==vi){var i=vi.memoizedState;if(o=i.destroy,null!==r&&ki(r,i.deps))return void(a.memoizedState=zi(t,n,o,r))}mi.flags|=e,a.memoizedState=zi(1|t,n,o,r)}function qi(e,t){return Bi(8390656,8,e,t)}function Wi(e,t){return Qi(2048,8,e,t)}function Hi(e,t){return Qi(4,2,e,t)}function Vi(e,t){return Qi(4,4,e,t)}function Ki(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $i(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Qi(4,4,Ki.bind(null,t,e),n)}function Gi(){}function Xi(e,t){var n=Ni();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ki(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Ni();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ki(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ji(e,t,n){return 0===(21&hi)?(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),mi.lanes|=n,As|=n,e.baseState=!0),t)}function Zi(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{bt=n,pi.transition=r}}function el(){return Ni().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))al(t,n);else if(null!==(n=Po(e,t,n,r))){ru(n,e,r,tu()),ol(n,t,r)}}function nl(e,t,n){var r=nu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(a.next=a,Oo(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(u){}null!==(n=Po(e,t,a,r))&&(ru(n,e,r,a=tu()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function al(e,t){bi=gi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var il={readContext:Eo,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},ll={readContext:Eo,useCallback:function(e,t){return Ei().memoizedState=[e,void 0===t?null:t],e},useContext:Eo,useEffect:qi,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Bi(4194308,4,Ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var n=Ei();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ei();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ei().memoizedState=e},useState:Ii,useDebugValue:Gi,useDeferredValue:function(e){return Ei().memoizedState=e},useTransition:function(){var e=Ii(!1),t=e[0];return e=Zi.bind(null,e[1]),Ei().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mi,a=Ei();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Rs)throw Error(o(349));0!==(30&hi)||Di(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,qi(Mi.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Fi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ei(),t=Rs.identifierPrefix;if(ao){var n=Ya;t=":"+t+"R"+(n=(Xa&~(1<<32-it(Xa)-1)).toString(32)+n),0<(n=xi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Eo,useCallback:Xi,useContext:Eo,useEffect:Wi,useImperativeHandle:$i,useInsertionEffect:Hi,useLayoutEffect:Vi,useMemo:Yi,useReducer:Pi,useRef:Ui,useState:function(){return Pi(Oi)},useDebugValue:Gi,useDeferredValue:function(e){return Ji(Ni(),vi.memoizedState,e)},useTransition:function(){return[Pi(Oi)[0],Ni().memoizedState]},useMutableSource:_i,useSyncExternalStore:Ti,useId:el,unstable_isNewReconciler:!1},ul={readContext:Eo,useCallback:Xi,useContext:Eo,useEffect:Wi,useImperativeHandle:$i,useInsertionEffect:Hi,useLayoutEffect:Vi,useMemo:Yi,useReducer:Ri,useRef:Ui,useState:function(){return Ri(Oi)},useDebugValue:Gi,useDeferredValue:function(e){var t=Ni();return null===vi?t.memoizedState=e:Ji(t,vi.memoizedState,e)},useTransition:function(){return[Ri(Oi)[0],Ni().memoizedState]},useMutableSource:_i,useSyncExternalStore:Ti,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Fo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Vs=r),fl(0,t)},n}function ml(e,t,n){(n=Fo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!==typeof r&&(null===Ks?Ks=new Set([this]):Ks.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function yl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gl(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fo(-1,1)).tag=2,Mo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bl=x.ReactCurrentOwner,xl=!1;function wl(e,t,n,r){t.child=null===e?Jo(t,null,n,r):Yo(t,e.child,n,r)}function Sl(e,t,n,r,a){n=n.render;var o=t.ref;return Co(t,a),r=ji(e,t,n,r,o,a),n=Ci(),null===e||xl?(ao&&n&&eo(t),t.flags|=1,wl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hl(e,t,a))}function kl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!==typeof o||Du(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Mu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,jl(e,t,o,r,a))}if(o=e.child,0===(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Hl(e,t,a)}return t.flags|=1,(e=Fu(o,r)).ref=t.ref,e.return=t,t.child=e}function jl(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=o,0===(e.lanes&a))return t.lanes=e.lanes,Hl(e,t,a);0!==(131072&e.flags)&&(xl=!0)}}return Nl(e,t,n,r,a)}function Cl(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ea(Fs,Ds),Ds|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ea(Fs,Ds),Ds|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ea(Fs,Ds),Ds|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ea(Fs,Ds),Ds|=r;return wl(e,t,a,n),t.child}function El(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Nl(e,t,n,r,a){var o=Ta(n)?Ra:Oa.current;return o=_a(t,o),Co(t,a),n=ji(e,t,n,r,o,a),r=Ci(),null===e||xl?(ao&&r&&eo(t),t.flags|=1,wl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hl(e,t,a))}function Ol(e,t,n,r,a){if(Ta(n)){var o=!0;La(t)}else o=!1;if(Co(t,a),null===t.stateNode)Wl(e,t),Wo(t,n,r),Vo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"===typeof u&&null!==u?u=Eo(u):u=_a(t,u=Ta(n)?Ra:Oa.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof i.getSnapshotBeforeUpdate;d||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Ho(t,i,r,u),_o=!1;var f=t.memoizedState;i.state=f,Io(t,r,i,a),s=t.memoizedState,l!==r||f!==s||Pa.current||_o?("function"===typeof c&&(Bo(t,n,c,r),s=t.memoizedState),(l=_o||qo(t,n,l,r,f,s,u))?(d||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Do(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:yo(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"===typeof(s=n.contextType)&&null!==s?s=Eo(s):s=_a(t,s=Ta(n)?Ra:Oa.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==d||f!==s)&&Ho(t,i,r,s),_o=!1,f=t.memoizedState,i.state=f,Io(t,r,i,a);var h=t.memoizedState;l!==d||f!==h||Pa.current||_o?("function"===typeof p&&(Bo(t,n,p,r),h=t.memoizedState),(u=_o||qo(t,n,u,r,f,h,s)||!1)?(c||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=u):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Pl(e,t,n,r,o,a)}function Pl(e,t,n,r,a,o){El(e,t);var i=0!==(128&t.flags);if(!r&&!i)return a&&Aa(t,n,!1),Hl(e,t,o);r=t.stateNode,bl.current=t;var l=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Yo(t,e.child,null,o),t.child=Yo(t,null,l,o)):wl(e,t,l,o),t.memoizedState=r.state,a&&Aa(t,n,!0),t.child}function Rl(e){var t=e.stateNode;t.pendingContext?Fa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Fa(0,t.context,!1),ai(e,t.containerInfo)}function _l(e,t,n,r,a){return ho(),mo(a),t.flags|=256,wl(e,t,n,r),t.child}var Tl,Dl,Fl,Ml,Ll={dehydrated:null,treeContext:null,retryLane:0};function Al(e){return{baseLanes:e,cachePool:null,transitions:null}}function Il(e,t,n){var r,a=t.pendingProps,i=si.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ea(si,1&i),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Au(s,a,0,null),e=Lu(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Al(n),t.memoizedState=Ll,e):zl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,Ul(e,t,l,r=dl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Au({mode:"visible",children:r.children},a,0,null),(i=Lu(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&Yo(t,e.child,null,l),t.child.memoizedState=Al(l),t.memoizedState=Ll,i);if(0===(1&t.mode))return Ul(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,Ul(e,t,l,r=dl(i=Error(o(419)),r,void 0))}if(s=0!==(l&e.childLanes),xl||s){if(null!==(r=Rs)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Ro(e,a),ru(r,e,a,-1))}return vu(),Ul(e,t,l,r=dl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ou.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ua(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Ka[$a++]=Xa,Ka[$a++]=Ya,Ka[$a++]=Ga,Xa=e.id,Ya=e.overflow,Ga=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,a,r,i,n);if(l){l=a.fallback,s=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 0===(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Fu(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Fu(r,l):(l=Lu(l,s,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Al(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Ll,a}return e=(l=e.child).sibling,a=Fu(l,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function zl(e,t){return(t=Au({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ul(e,t,n,r){return null!==r&&mo(r),Yo(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),jo(e.return,t,n)}function Ql(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function ql(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(wl(e,t,r.children,n),0!==(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ea(si,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ql(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ui(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ql(t,!0,n,null,o);break;case"together":Ql(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wl(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),As|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Fu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Fu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vl(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function $l(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return Ta(t.type)&&Da(),Kl(t),null;case 3:return r=t.stateNode,oi(),Ca(Pa),Ca(Oa),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(lu(oo),oo=null))),Dl(e,t),Kl(t),null;case 5:li(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Fl(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Kl(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fa]=t,r[pa]=i,e=0!==(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<Mr.length;a++)zr(Mr[a],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":X(r,i),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zr("invalid",r);break;case"textarea":ae(r,i),zr("invalid",r)}for(var s in ge(n,i),a=null,i)if(i.hasOwnProperty(s)){var u=i[s];"children"===s?"string"===typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,u,e),a=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,u,e),a=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&zr("scroll",r)}switch(n){case"input":V(r),Z(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"===typeof i.onClick&&(r.onclick=Zr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fa]=t,e[pa]=r,Tl(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Mr.length;a++)zr(Mr[a],e);a=r;break;case"source":zr("error",e),a=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),a=r;break;case"details":zr("toggle",e),a=r;break;case"input":X(e,r),a=G(e,r),zr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=A({},r,{value:void 0}),zr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),zr("invalid",e)}for(i in ge(n,a),u=a)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ve(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&zr("scroll",e):null!=c&&b(e,i,c,s))}switch(n){case"input":V(e),Z(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)Ml(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Jr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!==(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return Kl(t),null;case 13:if(Ca(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))po(),ho(),t.flags|=98560,i=!1;else if(i=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[fa]=t}else ho(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),i=!1}else null!==oo&&(lu(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&si.current)?0===Ms&&(Ms=3):vu())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return oi(),Dl(e,t),null===e&&Qr(t.stateNode.containerInfo),Kl(t),null;case 10:return ko(t.type._context),Kl(t),null;case 19:if(Ca(si),null===(i=t.memoizedState))return Kl(t),null;if(r=0!==(128&t.flags),null===(s=i.rendering))if(r)Vl(i,!1);else{if(0!==Ms||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ui(e))){for(t.flags|=128,Vl(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ea(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Ye()>qs&&(t.flags|=128,r=!0,Vl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!ao)return Kl(t),null}else 2*Ye()-i.renderingStartTime>qs&&1073741824!==n&&(t.flags|=128,r=!0,Vl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=si.current,Ea(si,r?1&n|2:1&n),t):(Kl(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Ds)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Gl(e,t){switch(to(t),t.tag){case 1:return Ta(t.type)&&Da(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),Ca(Pa),Ca(Oa),di(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(Ca(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(si),null;case 4:return oi(),null;case 10:return ko(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Tl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Dl=function(){},Fl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=G(e,a),r=G(e,r),i=[];break;case"select":a=A({},a,{value:void 0}),r=A({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Zr)}for(c in ge(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Ml=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xl=!1,Yl=!1,Jl="function"===typeof WeakSet?WeakSet:Set,Zl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Cu(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Cu(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&ts(t,n,o)}a=a.next}while(a!==r)}}function as(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fa],delete t[pa],delete t[ma],delete t[va],delete t[ya])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(l){}switch(n.tag){case 5:Yl||es(n,t);case 6:var r=ds,a=fs;ds=null,ps(e,t,n),fs=a,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Qt(e)):sa(ds,n.stateNode));break;case 4:r=ds,a=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=a;break;case 0:case 11:case 14:case 15:if(!Yl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!==(2&o)||0!==(4&o))&&ts(n,t,i),a=a.next}while(a!==r)}ps(e,t,n);break;case 1:if(!Yl&&(es(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Cu(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,ps(e,t,n),Yl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jl),t.forEach((function(t){var r=Pu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(o(160));hs(i,l,a),ds=null,fs=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(c){Cu(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ys(t,e),t=t.sibling}function ys(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),gs(e),4&r){try{rs(3,e,e.return),as(3,e)}catch(v){Cu(e,e.return,v)}try{rs(5,e,e.return)}catch(v){Cu(e,e.return,v)}}break;case 1:vs(t,e),gs(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(vs(t,e),gs(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(v){Cu(e,e.return,v)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&Y(a,i),be(s,l);var c=be(s,i);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?ve(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):b(a,d,f,c)}switch(s){case"input":J(a,i);break;case"textarea":oe(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(a,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[pa]=i}catch(v){Cu(e,e.return,v)}}break;case 6:if(vs(t,e),gs(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(v){Cu(e,e.return,v)}}break;case 3:if(vs(t,e),gs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Qt(t.containerInfo)}catch(v){Cu(e,e.return,v)}break;case 4:default:vs(t,e),gs(e);break;case 13:vs(t,e),gs(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Qs=Ye())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Yl=(c=Yl)||d,vs(t,e),Yl=c):vs(t,e),gs(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Zl=e,d=e.child;null!==d;){for(f=Zl=d;null!==Zl;){switch(h=(p=Zl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Cu(r,n,v)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){Ss(f);continue}}null!==h?(h.return=p,Zl=h):Ss(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,c?"function"===typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=f.stateNode,l=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(v){Cu(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(v){Cu(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),gs(e),4&r&&ms(e);case 21:}}function gs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),cs(e,ss(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;us(e,ss(e),i);break;default:throw Error(o(161))}}catch(l){Cu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Zl=e,xs(e,t,n)}function xs(e,t,n){for(var r=0!==(1&e.mode);null!==Zl;){var a=Zl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Xl;if(!i){var l=a.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Xl;var u=Yl;if(Xl=i,(Yl=s)&&!u)for(Zl=a;null!==Zl;)s=(i=Zl).child,22===i.tag&&null!==i.memoizedState?ks(a):null!==s?(s.return=i,Zl=s):ks(a);for(;null!==o;)Zl=o,xs(o,t,n),o=o.sibling;Zl=a,Xl=l,Yl=u}ws(e)}else 0!==(8772&a.subtreeFlags)&&null!==o?(o.return=a,Zl=o):ws(e)}}function ws(e){for(;null!==Zl;){var t=Zl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||as(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yl)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:yo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&zo(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}zo(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Qt(f)}}}break;default:throw Error(o(163))}Yl||512&t.flags&&os(t)}catch(p){Cu(t,t.return,p)}}if(t===e){Zl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zl=n;break}Zl=t.return}}function Ss(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function ks(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{as(4,t)}catch(s){Cu(t,n,s)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(s){Cu(t,a,s)}}var o=t.return;try{os(t)}catch(s){Cu(t,o,s)}break;case 5:var i=t.return;try{os(t)}catch(s){Cu(t,i,s)}}}catch(s){Cu(t,t.return,s)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var js,Cs=Math.ceil,Es=x.ReactCurrentDispatcher,Ns=x.ReactCurrentOwner,Os=x.ReactCurrentBatchConfig,Ps=0,Rs=null,_s=null,Ts=0,Ds=0,Fs=ja(0),Ms=0,Ls=null,As=0,Is=0,zs=0,Us=null,Bs=null,Qs=0,qs=1/0,Ws=null,Hs=!1,Vs=null,Ks=null,$s=!1,Gs=null,Xs=0,Ys=0,Js=null,Zs=-1,eu=0;function tu(){return 0!==(6&Ps)?Ye():-1!==Zs?Zs:Zs=Ye()}function nu(e){return 0===(1&e.mode)?1:0!==(2&Ps)&&0!==Ts?Ts&-Ts:null!==vo.transition?(0===eu&&(eu=mt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function ru(e,t,n,r){if(50<Ys)throw Ys=0,Js=null,Error(o(185));yt(e,n,r),0!==(2&Ps)&&e===Rs||(e===Rs&&(0===(2&Ps)&&(Is|=n),4===Ms&&su(e,Ts)),au(e,r),1===n&&0===Ps&&0===(1&t.mode)&&(qs=Ye()+500,za&&Qa()))}function au(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),l=1<<i,s=a[i];-1===s?0!==(l&n)&&0===(l&r)||(a[i]=pt(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ft(e,e===Rs?Ts:0);if(0===r)null!==n&&$e(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&$e(n),1===t)0===e.tag?function(e){za=!0,Ba(e)}(uu.bind(null,e)):Ba(uu.bind(null,e)),ia((function(){0===(6&Ps)&&Qa()})),n=null;else{switch(xt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ru(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Zs=-1,eu=0,0!==(6&Ps))throw Error(o(327));var n=e.callbackNode;if(ku()&&e.callbackNode!==n)return null;var r=ft(e,e===Rs?Ts:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=yu(e,r);else{t=r;var a=Ps;Ps|=2;var i=mu();for(Rs===e&&Ts===t||(Ws=null,qs=Ye()+500,pu(e,t));;)try{bu();break}catch(s){hu(e,s)}So(),Es.current=i,Ps=a,null!==_s?t=0:(Rs=null,Ts=0,t=Ms)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=iu(e,a))),1===t)throw n=Ls,pu(e,0),su(e,r),au(e,Ye()),n;if(6===t)su(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!lr(o(),a))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=yu(e,r))&&(0!==(i=ht(e))&&(r=i,t=iu(e,i))),1===t))throw n=Ls,pu(e,0),su(e,r),au(e,Ye()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:Su(e,Bs,Ws);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=Qs+500-Ye())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(Su.bind(null,e,Bs,Ws),t);break}Su(e,Bs,Ws);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>a&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cs(r/1960))-r)){e.timeoutHandle=ra(Su.bind(null,e,Bs,Ws),r);break}Su(e,Bs,Ws);break;default:throw Error(o(329))}}}return au(e,Ye()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=Us;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=yu(e,t))&&(t=Bs,Bs=n,null!==t&&lu(t)),e}function lu(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function su(e,t){for(t&=~zs,t&=~Is,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!==(6&Ps))throw Error(o(327));ku();var t=ft(e,0);if(0===(1&t))return au(e,Ye()),null;var n=yu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Ls,pu(e,0),su(e,t),au(e,Ye()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Su(e,Bs,Ws),au(e,Ye()),null}function cu(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&(qs=Ye()+500,za&&Qa())}}function du(e){null!==Gs&&0===Gs.tag&&0===(6&Ps)&&ku();var t=Ps;Ps|=1;var n=Os.transition,r=bt;try{if(Os.transition=null,bt=1,e)return e()}finally{bt=r,Os.transition=n,0===(6&(Ps=t))&&Qa()}}function fu(){Ds=Fs.current,Ca(Fs)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==_s)for(n=_s.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Da();break;case 3:oi(),Ca(Pa),Ca(Oa),di();break;case 5:li(r);break;case 4:oi();break;case 13:case 19:Ca(si);break;case 10:ko(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Rs=e,_s=e=Fu(e.current,null),Ts=Ds=t,Ms=0,Ls=null,zs=Is=As=0,Bs=Us=null,null!==No){for(t=0;t<No.length;t++)if(null!==(r=(n=No[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}No=null}return e}function hu(e,t){for(;;){var n=_s;try{if(So(),fi.current=il,gi){for(var r=mi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}gi=!1}if(hi=0,yi=vi=mi=null,bi=!1,xi=0,Ns.current=null,null===n||null===n.return){Ms=1,Ls=t,_s=null;break}e:{var i=e,l=n.return,s=n,u=t;if(t=Ts,s.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=s,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=yl(l);if(null!==h){h.flags&=-257,gl(h,l,s,0,t),1&h.mode&&vl(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0===(1&t)){vl(i,c,t),vu();break e}u=Error(o(426))}else if(ao&&1&s.mode){var y=yl(l);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),gl(y,l,s,0,t),mo(cl(u,s));break e}}i=u=cl(u,s),4!==Ms&&(Ms=2),null===Us?Us=[i]:Us.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ao(i,hl(0,u,t));break e;case 1:s=u;var g=i.type,b=i.stateNode;if(0===(128&i.flags)&&("function"===typeof g.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Ks||!Ks.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Ao(i,ml(i,s,t));break e}}i=i.return}while(null!==i)}wu(n)}catch(x){t=x,_s===n&&null!==n&&(_s=n=n.return);continue}break}}function mu(){var e=Es.current;return Es.current=il,null===e?il:e}function vu(){0!==Ms&&3!==Ms&&2!==Ms||(Ms=4),null===Rs||0===(268435455&As)&&0===(268435455&Is)||su(Rs,Ts)}function yu(e,t){var n=Ps;Ps|=2;var r=mu();for(Rs===e&&Ts===t||(Ws=null,pu(e,t));;)try{gu();break}catch(a){hu(e,a)}if(So(),Ps=n,Es.current=r,null!==_s)throw Error(o(261));return Rs=null,Ts=0,Ms}function gu(){for(;null!==_s;)xu(_s)}function bu(){for(;null!==_s&&!Ge();)xu(_s)}function xu(e){var t=js(e.alternate,e,Ds);e.memoizedProps=e.pendingProps,null===t?wu(e):_s=t,Ns.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=$l(n,t,Ds)))return void(_s=n)}else{if(null!==(n=Gl(n,t)))return n.flags&=32767,void(_s=n);if(null===e)return Ms=6,void(_s=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(_s=t);_s=t=e}while(null!==t);0===Ms&&(Ms=5)}function Su(e,t,n){var r=bt,a=Os.transition;try{Os.transition=null,bt=1,function(e,t,n,r){do{ku()}while(null!==Gs);if(0!==(6&Ps))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Rs&&(_s=Rs=null,Ts=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||$s||($s=!0,Ru(tt,(function(){return ku(),null}))),i=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||i){i=Os.transition,Os.transition=null;var l=bt;bt=1;var s=Ps;Ps|=4,Ns.current=null,function(e,t){if(ea=Wt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(w){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===a&&(s=l),p===i&&++d===r&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Wt=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,y=m.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:yo(t.type,v),y);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(o(163))}}catch(w){Cu(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}m=ns,ns=!1}(e,n),ys(n,e),hr(ta),Wt=!!ea,ta=ea=null,e.current=n,bs(n,e,a),Xe(),Ps=s,bt=l,Os.transition=i}else e.current=n;if($s&&($s=!1,Gs=e,Xs=a),i=e.pendingLanes,0===i&&(Ks=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),au(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Hs)throw Hs=!1,e=Vs,Vs=null,e;0!==(1&Xs)&&0!==e.tag&&ku(),i=e.pendingLanes,0!==(1&i)?e===Js?Ys++:(Ys=0,Js=e):Ys=0,Qa()}(e,t,n,r)}finally{Os.transition=a,bt=r}return null}function ku(){if(null!==Gs){var e=xt(Xs),t=Os.transition,n=bt;try{if(Os.transition=null,bt=16>e?16:e,null===Gs)var r=!1;else{if(e=Gs,Gs=null,Xs=0,0!==(6&Ps))throw Error(o(331));var a=Ps;for(Ps|=4,Zl=e.current;null!==Zl;){var i=Zl,l=i.child;if(0!==(16&Zl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var f=d.child;if(null!==f)f.return=d,Zl=f;else for(;null!==Zl;){var p=(d=Zl).sibling,h=d.return;if(is(d),d===c){Zl=null;break}if(null!==p){p.return=h,Zl=p;break}Zl=h}}}var m=i.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var y=v.sibling;v.sibling=null,v=y}while(null!==v)}}Zl=i}}if(0!==(2064&i.subtreeFlags)&&null!==l)l.return=i,Zl=l;else e:for(;null!==Zl;){if(0!==(2048&(i=Zl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var g=i.sibling;if(null!==g){g.return=i.return,Zl=g;break e}Zl=i.return}}var b=e.current;for(Zl=b;null!==Zl;){var x=(l=Zl).child;if(0!==(2064&l.subtreeFlags)&&null!==x)x.return=l,Zl=x;else e:for(l=b;null!==Zl;){if(0!==(2048&(s=Zl).flags))try{switch(s.tag){case 0:case 11:case 15:as(9,s)}}catch(S){Cu(s,s.return,S)}if(s===l){Zl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Zl=w;break e}Zl=s.return}}if(Ps=a,Qa(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(S){}r=!0}return r}finally{bt=n,Os.transition=t}}return!1}function ju(e,t,n){e=Mo(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(yt(e,1,t),au(e,t))}function Cu(e,t,n){if(3===e.tag)ju(e,e,n);else for(;null!==t;){if(3===t.tag){ju(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ks||!Ks.has(r))){t=Mo(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(yt(t,1,e),au(t,e));break}}t=t.return}}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Rs===e&&(Ts&n)===n&&(4===Ms||3===Ms&&(130023424&Ts)===Ts&&500>Ye()-Qs?pu(e,0):zs|=n),au(e,t)}function Nu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Ro(e,t))&&(yt(e,t,n),au(e,n))}function Ou(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Nu(e,n)}function Pu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Nu(e,n)}function Ru(e,t){return Ke(e,t)}function _u(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tu(e,t,n,r){return new _u(e,t,n,r)}function Du(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fu(e,t){var n=e.alternate;return null===n?((n=Tu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Mu(e,t,n,r,a,i){var l=2;if(r=e,"function"===typeof e)Du(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case k:return Lu(n.children,a,i,t);case j:l=8,a|=8;break;case C:return(e=Tu(12,n,t,2|a)).elementType=C,e.lanes=i,e;case P:return(e=Tu(13,n,t,a)).elementType=P,e.lanes=i,e;case R:return(e=Tu(19,n,t,a)).elementType=R,e.lanes=i,e;case D:return Au(n,a,i,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case E:l=10;break e;case N:l=9;break e;case O:l=11;break e;case _:l=14;break e;case T:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Tu(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Lu(e,t,n,r){return(e=Tu(7,e,r,t)).lanes=n,e}function Au(e,t,n,r){return(e=Tu(22,e,r,t)).elementType=D,e.lanes=n,e.stateNode={isHidden:!1},e}function Iu(e,t,n){return(e=Tu(6,e,null,t)).lanes=n,e}function zu(e,t,n){return(t=Tu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uu(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,a,o,i,l,s){return e=new Uu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Tu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},To(o),e}function Qu(e){if(!e)return Na;e:{if(Qe(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ta(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ta(n))return Ma(e,n,t)}return t}function qu(e,t,n,r,a,o,i,l,s){return(e=Bu(n,r,!0,e,0,o,0,l,s)).context=Qu(null),n=e.current,(o=Fo(r=tu(),a=nu(n))).callback=void 0!==t&&null!==t?t:null,Mo(n,o,a),e.current.lanes=a,yt(e,a,r),au(e,r),e}function Wu(e,t,n,r){var a=t.current,o=tu(),i=nu(a);return n=Qu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Mo(a,t,i))&&(ru(e,a,i,o),Lo(e,a,i)),i}function Hu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ku(e,t){Vu(e,t),(e=e.alternate)&&Vu(e,t)}js=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pa.current)xl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:Rl(t),ho();break;case 5:ii(t);break;case 1:Ta(t.type)&&La(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ea(go,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ea(si,1&si.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Il(e,t,n):(Ea(si,1&si.current),null!==(e=Hl(e,t,n))?e.sibling:null);Ea(si,1&si.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return ql(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ea(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return Hl(e,t,n)}(e,t,n);xl=0!==(131072&e.flags)}else xl=!1,ao&&0!==(1048576&t.flags)&&Za(t,Va,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wl(e,t),e=t.pendingProps;var a=_a(t,Oa.current);Co(t,n),a=ji(null,t,r,e,a,n);var i=Ci();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ta(r)?(i=!0,La(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,To(t),a.updater=Qo,t.stateNode=a,a._reactInternals=t,Vo(t,r,e,n),t=Pl(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),wl(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wl(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Du(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===O)return 11;if(e===_)return 14}return 2}(r),e=yo(r,e),a){case 0:t=Nl(null,t,r,e,n);break e;case 1:t=Ol(null,t,r,e,n);break e;case 11:t=Sl(null,t,r,e,n);break e;case 14:t=kl(null,t,r,yo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Nl(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ol(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 3:e:{if(Rl(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Do(e,t),Io(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=_l(e,t,r,n,a=cl(Error(o(423)),t));break e}if(r!==a){t=_l(e,t,r,n,a=cl(Error(o(424)),t));break e}for(ro=ua(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Jo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=Hl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&uo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==i&&na(r,i)&&(t.flags|=32),El(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&uo(t),null;case 13:return Il(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yo(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Sl(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Ea(go,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!Pa.current){t=Hl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=Fo(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),jo(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(o(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),jo(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}wl(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Co(t,n),r=r(a=Eo(a)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return a=yo(r=t.type,t.pendingProps),kl(e,t,r,a=yo(r.type,a),n);case 15:return jl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:yo(r,a),Wl(e,t),t.tag=1,Ta(r)?(e=!0,La(t)):e=!1,Co(t,n),Wo(t,r,a),Vo(t,r,a,n),Pl(null,t,r,!0,e,n);case 19:return ql(e,t,n);case 22:return Cl(e,t,n)}throw Error(o(156,t.tag))};var $u="function"===typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"===typeof a){var l=a;a=function(){var e=Hu(i);l.call(e)}}Wu(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"===typeof r){var o=r;r=function(){var e=Hu(i);o.call(e)}}var i=qu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=i,e[ha]=i.current,Qr(8===e.nodeType?e.parentNode:e),du(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var l=r;r=function(){var e=Hu(s);l.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[ha]=s.current,Qr(8===e.nodeType?e.parentNode:e),du((function(){Wu(t,s,n,r)})),s}(n,t,e,a,r);return Hu(i)}Xu.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Wu(e,t,null,null)},Xu.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Wu(null,e,null,null)})),t[ha]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=jt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&0!==t&&t<Dt[n].priority;n++);Dt.splice(n,0,e),0===n&&At(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(gt(t,1|n),au(t,Ye()),0===(6&Ps)&&(qs=Ye()+500,Qa()))}break;case 13:du((function(){var t=Ro(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Ku(e,1)}},St=function(e){if(13===e.tag){var t=Ro(e,134217728);if(null!==t)ru(t,e,134217728,tu());Ku(e,134217728)}},kt=function(e){if(13===e.tag){var t=nu(e),n=Ro(e,t);if(null!==n)ru(n,e,t,tu());Ku(e,t)}},jt=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=wa(r);if(!a)throw Error(o(90));K(r),J(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=cu,Pe=du;var tc={usingClientEntryPoint:!1,Events:[ba,xa,wa,Ee,Ne,cu]},nc={findFiberByHostInstance:ga,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),ot=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(o(299));var n=!1,r="",a=$u;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Bu(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Qr(8===e.nodeType?e.parentNode:e),new Gu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Ju(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=$u;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=qu(t,null,e,1,null!=n?n:null,a,0,i,l),e[ha]=t.current,Qr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Xu(t)},t.render=function(e,t,n){if(!Ju(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(o(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ju(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},391:(e,t,n)=>{"use strict";var r=n(950);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(730)},244:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(540),a=n(422),o=n(870),i=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,r.A)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(a.Q))},819:(e,t,n)=>{"use strict";n.d(t,{QueryClient:()=>r.E});var r=n(646),a=n(298);n.o(a,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return a.QueryClientProvider}}),n.o(a,"useMutation")&&n.d(t,{useMutation:function(){return a.useMutation}}),n.o(a,"useQuery")&&n.d(t,{useQuery:function(){return a.useQuery}})},75:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,t:()=>a});var r=console;function a(){return r}function o(e){r=e}},964:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,s:()=>s});var r=n(168),a=n(75),o=n(991),i=n(990),l=n(870),s=function(){function e(e){this.options=(0,r.A)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||u(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(l.lQ).catch(l.lQ)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,a.t)().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new i.eJ({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,r.A)({},e,{failureCount:e.failureCount+1});case"pause":return(0,r.A)({},e,{isPaused:!0});case"continue":return(0,r.A)({},e,{isPaused:!1});case"loading":return(0,r.A)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,r.A)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.A)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.A)({},e,t.state);default:return e}}(this.state,e),o.j.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function u(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},991:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r=n(870),a=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,r.G6)((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,r.G6)((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}())},317:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(540),a=n(422),o=n(870),i=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}(0,r.A)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine},t}(a.Q))},646:(e,t,n)=>{"use strict";n.d(t,{E:()=>g});var r=n(168),a=n(870),o=n(540),i=n(991),l=n(75),s=n(990),u=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,r.A)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,a.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,i=(0,a.Zw)(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,i))?i=o:!1!==this.options.structuralSharing&&(i=(0,a.BH)(o,i)),this.dispatch({data:i,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),i},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(a.lQ).catch(a.lQ):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,a.j3)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,i=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var u;return null==(u=this.retryer)||u.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var c=this.observers.find((function(e){return e.options.queryFn}));c&&this.setOptions(c.options)}var d=(0,a.HN)(this.queryKey),f=(0,a.jY)(),p={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(p,"signal",{enumerable:!0,get:function(){if(f)return i.abortSignalConsumed=!0,f.signal}});var h,m,v={fetchOptions:t,options:this.options,queryKey:d,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(p)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(h=this.options.behavior)||h.onFetch(v));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=v.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(m=v.fetchOptions)?void 0:m.meta});return this.retryer=new s.eJ({fn:v.fetchFn,abort:null==f||null==(o=f.abort)?void 0:o.bind(f),onSuccess:function(e){i.setData(e),null==i.cache.config.onSuccess||i.cache.config.onSuccess(e,i),0===i.cacheTime&&i.optionalRemove()},onError:function(e){(0,s.wm)(e)&&e.silent||i.dispatch({type:"error",error:e}),(0,s.wm)(e)||(null==i.cache.config.onError||i.cache.config.onError(e,i),(0,l.t)().error(e)),0===i.cacheTime&&i.optionalRemove()},onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:v.options.retry,retryDelay:v.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),i.j.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"===typeof e.initialData?e.initialData():e.initialData,n="undefined"!==typeof e.initialData?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r="undefined"!==typeof t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,a;switch(t.type){case"failed":return(0,r.A)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,r.A)({},e,{isPaused:!0});case"continue":return(0,r.A)({},e,{isPaused:!1});case"fetch":return(0,r.A)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.A)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(a=t.dataUpdatedAt)?a:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return(0,s.wm)(o)&&o.revert&&this.revertState?(0,r.A)({},this.revertState):(0,r.A)({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.A)({},e,{isInvalidated:!0});case"setState":return(0,r.A)({},e,t.state);default:return e}},e}(),c=n(422),d=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,o.A)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:(0,a.F$)(o,t),l=this.get(i);return l||(l=new u({cache:this,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(l)),l},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;i.j.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,a.b_)(e,t)[0];return"undefined"===typeof n.exact&&(n.exact=!0),this.queries.find((function(e){return(0,a.MK)(n,e)}))},n.findAll=function(e,t){var n=(0,a.b_)(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return(0,a.MK)(n,e)})):this.queries},n.notify=function(e){var t=this;i.j.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;i.j.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;i.j.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(c.Q),f=n(964),p=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,o.A)(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new f.s({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;i.j.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((function(t){return(0,a.nJ)(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return(0,a.nJ)(e,t)}))},n.notify=function(e){var t=this;i.j.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return i.j.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(a.lQ)}))}),Promise.resolve())}))},t}(c.Q),h=n(244),m=n(317);function v(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function y(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var g=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new d,this.mutationCache=e.mutationCache||new p,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=h.m.subscribe((function(){h.m.isFocused()&&m.t.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=m.t.subscribe((function(){h.m.isFocused()&&m.t.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,a.b_)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,r.A)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=(0,a.vh)(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return i.j.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var a=e.queryKey;return[a,r.setQueryData(a,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,a.b_)(e,t)[0],r=this.queryCache;i.j.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var o=this,l=(0,a.b_)(e,t,n),s=l[0],u=l[1],c=this.queryCache,d=(0,r.A)({},s,{active:!0});return i.j.batch((function(){return c.findAll(s).forEach((function(e){e.reset()})),o.refetchQueries(d,u)}))},t.cancelQueries=function(e,t,n){var r=this,o=(0,a.b_)(e,t,n),l=o[0],s=o[1],u=void 0===s?{}:s;"undefined"===typeof u.revert&&(u.revert=!0);var c=i.j.batch((function(){return r.queryCache.findAll(l).map((function(e){return e.cancel(u)}))}));return Promise.all(c).then(a.lQ).catch(a.lQ)},t.invalidateQueries=function(e,t,n){var o,l,s,u=this,c=(0,a.b_)(e,t,n),d=c[0],f=c[1],p=(0,r.A)({},d,{active:null==(o=null!=(l=d.refetchActive)?l:d.active)||o,inactive:null!=(s=d.refetchInactive)&&s});return i.j.batch((function(){return u.queryCache.findAll(d).forEach((function(e){e.invalidate()})),u.refetchQueries(p,f)}))},t.refetchQueries=function(e,t,n){var o=this,l=(0,a.b_)(e,t,n),s=l[0],u=l[1],c=i.j.batch((function(){return o.queryCache.findAll(s).map((function(e){return e.fetch(void 0,(0,r.A)({},u,{meta:{refetchPage:null==s?void 0:s.refetchPage}}))}))})),d=Promise.all(c).then(a.lQ);return(null==u?void 0:u.throwOnError)||(d=d.catch(a.lQ)),d},t.fetchQuery=function(e,t,n){var r=(0,a.vh)(e,t,n),o=this.defaultQueryOptions(r);"undefined"===typeof o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(a.lQ).catch(a.lQ)},t.fetchInfiniteQuery=function(e,t,n){var r=(0,a.vh)(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,i,l,u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,f=null==d?void 0:d.pageParam,p="forward"===(null==d?void 0:d.direction),h="backward"===(null==d?void 0:d.direction),m=(null==(i=e.state.data)?void 0:i.pages)||[],g=(null==(l=e.state.data)?void 0:l.pageParams)||[],b=(0,a.jY)(),x=null==b?void 0:b.signal,w=g,S=!1,k=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},j=function(e,t,n,r){return w=r?[t].concat(w):[].concat(w,[t]),r?[n].concat(e):[].concat(e,[n])},C=function(t,n,r,a){if(S)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&t.length)return Promise.resolve(t);var o={queryKey:e.queryKey,signal:x,pageParam:r,meta:e.meta},i=k(o),l=Promise.resolve(i).then((function(e){return j(t,r,e,a)}));return(0,s.dd)(i)&&(l.cancel=i.cancel),l};if(m.length)if(p){var E="undefined"!==typeof f,N=E?f:v(e.options,m);u=C(m,E,N)}else if(h){var O="undefined"!==typeof f,P=O?f:y(e.options,m);u=C(m,O,P,!0)}else!function(){w=[];var t="undefined"===typeof e.options.getNextPageParam,n=!c||!m[0]||c(m[0],0,m);u=n?C([],t,g[0]):Promise.resolve(j([],g[0],m[0]));for(var r=function(n){u=u.then((function(r){if(!c||!m[n]||c(m[n],n,m)){var a=t?g[n]:v(e.options,r);return C(r,t,a)}return Promise.resolve(j(r,g[n],m[n]))}))},a=1;a<m.length;a++)r(a)}();else u=C([]);var R=u.then((function(e){return{pages:e,pageParams:w}}));return R.cancel=function(){S=!0,null==b||b.abort(),(0,s.dd)(u)&&u.cancel()},R}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(a.lQ).catch(a.lQ)},t.cancelMutations=function(){var e=this,t=i.j.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(a.lQ).catch(a.lQ)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return(0,a.Od)(e)===(0,a.Od)(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return(0,a.Cp)(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return(0,a.Od)(e)===(0,a.Od)(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return(0,a.Cp)(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,r.A)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,a.F$)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,r.A)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},990:(e,t,n)=>{"use strict";n.d(t,{dd:()=>l,eJ:()=>c,wm:()=>u});var r=n(244),a=n(317),o=n(870);function i(e){return Math.min(1e3*Math.pow(2,e),3e4)}function l(e){return"function"===typeof(null==e?void 0:e.cancel)}var s=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function u(e){return e instanceof s}var c=function(e){var t,n,u,c,d=this,f=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){f=!0},this.continueRetry=function(){f=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){u=e,c=t}));var p=function(t){d.isResolved||(d.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),u(t))},h=function(t){d.isResolved||(d.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),c(t))};!function u(){if(!d.isResolved){var c;try{c=e.fn()}catch(m){c=Promise.reject(m)}t=function(e){if(!d.isResolved&&(h(new s(e)),null==d.abort||d.abort(),l(c)))try{c.cancel()}catch(t){}},d.isTransportCancelable=l(c),Promise.resolve(c).then(p).catch((function(t){var l,s;if(!d.isResolved){var c=null!=(l=e.retry)?l:3,p=null!=(s=e.retryDelay)?s:i,m="function"===typeof p?p(d.failureCount,t):p,v=!0===c||"number"===typeof c&&d.failureCount<c||"function"===typeof c&&c(d.failureCount,t);!f&&v?(d.failureCount++,null==e.onFail||e.onFail(d.failureCount,t),(0,o.yy)(m).then((function(){if(!r.m.isFocused()||!a.t.isOnline())return new Promise((function(t){n=t,d.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,d.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){f?h(t):u()}))):h(t)}}))}}()}},422:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},298:()=>{},870:(e,t,n)=>{"use strict";n.d(t,{BH:()=>b,Cp:()=>y,F$:()=>m,G6:()=>C,GR:()=>d,HN:()=>s,MK:()=>p,Od:()=>v,S$:()=>a,Zw:()=>i,b_:()=>f,f8:()=>x,gn:()=>l,j3:()=>u,jY:()=>E,lQ:()=>o,nJ:()=>h,vh:()=>c,yy:()=>j});var r=n(168),a="undefined"===typeof window;function o(){}function i(e,t){return"function"===typeof e?e(t):e}function l(e){return"number"===typeof e&&e>=0&&e!==1/0}function s(e){return Array.isArray(e)?e:[e]}function u(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t,n){return k(e)?"function"===typeof t?(0,r.A)({},n,{queryKey:e,queryFn:t}):(0,r.A)({},t,{queryKey:e}):e}function d(e,t,n){return k(e)?"function"===typeof t?(0,r.A)({},n,{mutationKey:e,mutationFn:t}):(0,r.A)({},t,{mutationKey:e}):"function"===typeof e?(0,r.A)({},t,{mutationFn:e}):(0,r.A)({},e)}function f(e,t,n){return k(e)?[(0,r.A)({},t,{queryKey:e}),n]:[e||{},t]}function p(e,t){var n=e.active,r=e.exact,a=e.fetching,o=e.inactive,i=e.predicate,l=e.queryKey,s=e.stale;if(k(l))if(r){if(t.queryHash!==m(l,t.options))return!1}else if(!y(t.queryKey,l))return!1;var u=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,o);if("none"===u)return!1;if("all"!==u){var c=t.isActive();if("active"===u&&!c)return!1;if("inactive"===u&&c)return!1}return("boolean"!==typeof s||t.isStale()===s)&&(("boolean"!==typeof a||t.isFetching()===a)&&!(i&&!i(t)))}function h(e,t){var n=e.exact,r=e.fetching,a=e.predicate,o=e.mutationKey;if(k(o)){if(!t.options.mutationKey)return!1;if(n){if(v(t.options.mutationKey)!==v(o))return!1}else if(!y(t.options.mutationKey,o))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(a&&!a(t))}function m(e,t){return((null==t?void 0:t.queryKeyHashFn)||v)(e)}function v(e){var t,n=s(e);return t=n,JSON.stringify(t,(function(e,t){return w(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function y(e,t){return g(s(e),s(t))}function g(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((function(n){return!g(e[n],t[n])})))}function b(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||w(e)&&w(t)){for(var r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{},l=0,s=0;s<o;s++){var u=n?s:a[s];i[u]=b(e[u],t[u]),i[u]===e[u]&&l++}return r===o&&l===r?e:i}return t}function x(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function w(e){if(!S(e))return!1;var t=e.constructor;if("undefined"===typeof t)return!0;var n=t.prototype;return!!S(n)&&!!n.hasOwnProperty("isPrototypeOf")}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function k(e){return"string"===typeof e||Array.isArray(e)}function j(e){return new Promise((function(t){setTimeout(t,e)}))}function C(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function E(){if("function"===typeof AbortController)return new AbortController}},907:(e,t,n)=>{"use strict";n.d(t,{QueryClient:()=>r.QueryClient,QueryClientProvider:()=>a.QueryClientProvider,useMutation:()=>a.useMutation,useQuery:()=>a.useQuery});var r=n(819);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useMutation")&&n.d(t,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}});var a=n(490)},490:(e,t,n)=>{"use strict";n.d(t,{QueryClientProvider:()=>f,useMutation:()=>x,useQuery:()=>_});var r=n(991),a=n(950).unstable_batchedUpdates;r.j.setBatchNotifyFunction(a);var o=n(75),i=console;(0,o.B)(i);var l=n(43),s=l.createContext(void 0),u=l.createContext(!1);function c(e){return e&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=s),window.ReactQueryClientContext):s}var d=function(){var e=l.useContext(c(l.useContext(u)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},f=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,a=e.children;l.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var o=c(r);return l.createElement(u.Provider,{value:r},l.createElement(o.Provider,{value:t},a))},p=n(168),h=n(870),m=n(540),v=n(964),y=n(422),g=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}(0,m.A)(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,p.A)({},this.options,{variables:"undefined"!==typeof e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:(0,v.$)(),t=(0,p.A)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;r.j.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(y.Q);function b(e,t,n){return"function"===typeof t?t.apply(void 0,n):"boolean"===typeof t?t:!!e}function x(e,t,n){var a=l.useRef(!1),o=l.useState(0)[1],i=(0,h.GR)(e,t,n),s=d(),u=l.useRef();u.current?u.current.setOptions(i):u.current=new g(s,i);var c=u.current.getCurrentResult();l.useEffect((function(){a.current=!0;var e=u.current.subscribe(r.j.batchCalls((function(){a.current&&o((function(e){return e+1}))})));return function(){a.current=!1,e()}}),[]);var f=l.useCallback((function(e,t){u.current.mutate(e,t).catch(h.lQ)}),[]);if(c.error&&b(void 0,u.current.options.useErrorBoundary,[c.error]))throw c.error;return(0,p.A)({},c,{mutate:f,mutateAsync:c.mutate})}var w=n(244),S=n(990),k=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,m.A)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),j(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return C(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return C(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var a=this.hasListeners();a&&E(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!a||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},a=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return a(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&a("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var a=t.subscribe((function(t){t.isFetching||(a(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,p.A)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(h.lQ)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!h.S$&&!this.currentResult.isStale&&(0,h.gn)(this.options.staleTime)){var t=(0,h.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!h.S$&&!1!==this.options.enabled&&(0,h.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||w.m.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,a=this.options,i=this.currentResult,l=this.currentResultState,s=this.currentResultOptions,u=e!==r,c=u?e.state:this.currentQueryInitialState,d=u?this.currentResult:this.previousQueryResult,f=e.state,p=f.dataUpdatedAt,m=f.error,v=f.errorUpdatedAt,y=f.isFetching,g=f.status,b=!1,x=!1;if(t.optimisticResults){var w=this.hasListeners(),S=!w&&j(e,t),k=w&&E(e,r,t,a);(S||k)&&(y=!0,p||(g="loading"))}if(t.keepPreviousData&&!f.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==g)n=d.data,p=d.dataUpdatedAt,g=d.status,b=!0;else if(t.select&&"undefined"!==typeof f.data)if(i&&f.data===(null==l?void 0:l.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(f.data),!1!==t.structuralSharing&&(n=(0,h.BH)(null==i?void 0:i.data,n)),this.selectResult=n,this.selectError=null}catch(O){(0,o.t)().error(O),this.selectError=O}else n=f.data;if("undefined"!==typeof t.placeholderData&&"undefined"===typeof n&&("loading"===g||"idle"===g)){var C;if((null==i?void 0:i.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData))C=i.data;else if(C="function"===typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&"undefined"!==typeof C)try{C=t.select(C),!1!==t.structuralSharing&&(C=(0,h.BH)(null==i?void 0:i.data,C)),this.selectError=null}catch(O){(0,o.t)().error(O),this.selectError=O}"undefined"!==typeof C&&(g="success",n=C,x=!0)}return this.selectError&&(m=this.selectError,n=this.selectResult,v=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,data:n,dataUpdatedAt:p,error:m,errorUpdatedAt:v,failureCount:f.fetchFailureCount,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:y,isRefetching:y&&"loading"!==g,isLoadingError:"error"===g&&0===f.dataUpdatedAt,isPlaceholderData:x,isPreviousData:b,isRefetchError:"error"===g&&0!==f.dataUpdatedAt,isStale:N(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,a=n.notifyOnChangePropsExclusions;if(!r&&!a)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var o="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,i=e[r]!==t[r],l=null==o?void 0:o.some((function(e){return e===n})),s=null==a?void 0:a.some((function(e){return e===n}));return i&&!s&&(!o||l)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,h.f8)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,p.A)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,S.wm)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;r.j.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(y.Q);function j(e,t){return function(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&C(e,t,t.refetchOnMount)}function C(e,t,n){if(!1!==t.enabled){var r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&N(e,t)}return!1}function E(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&N(e,n)}function N(e,t){return e.isStaleByTime(t.staleTime)}function O(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var P=l.createContext(O()),R=function(){return l.useContext(P)};function _(e,t,n){return function(e,t){var n=l.useRef(!1),a=l.useState(0)[1],o=d(),i=R(),s=o.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=r.j.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=r.j.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=r.j.batchCalls(s.onSettled)),s.suspense&&("number"!==typeof s.staleTime&&(s.staleTime=1e3),0===s.cacheTime&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(i.isReset()||(s.retryOnMount=!1));var u=l.useState((function(){return new t(o,s)}))[0],c=u.getOptimisticResult(s);if(l.useEffect((function(){n.current=!0,i.clearReset();var e=u.subscribe(r.j.batchCalls((function(){n.current&&a((function(e){return e+1}))})));return u.updateResult(),function(){n.current=!1,e()}}),[i,u]),l.useEffect((function(){u.setOptions(s,{listeners:!1})}),[s,u]),s.suspense&&c.isLoading)throw u.fetchOptimistic(s).then((function(e){var t=e.data;null==s.onSuccess||s.onSuccess(t),null==s.onSettled||s.onSettled(t,null)})).catch((function(e){i.clearReset(),null==s.onError||s.onError(e),null==s.onSettled||s.onSettled(void 0,e)}));if(c.isError&&!i.isReset()&&!c.isFetching&&b(s.suspense,s.useErrorBoundary,[c.error,u.getCurrentQuery()]))throw c.error;return"tracked"===s.notifyOnChangeProps&&(c=u.trackResult(c,s)),c}((0,h.vh)(e,t,n),k)}},153:(e,t,n)=>{"use strict";var r=n(43),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},202:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var x=b.prototype=new g;x.constructor=b,m(x,y.prototype),x.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,a)&&!j.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(a in s=e.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:k.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var N=/\/+/g;function O(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===o?"."+O(s,0):o,w(i)?(a="",null!=e&&(a=e.replace(N,"$&/")+"/"),P(i,t,a,"",(function(e){return e}))):null!=i&&(E(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(N,"$&/")+"/")+e)),t.push(i)),1;if(s=0,o=""===o?".":o+":",w(e))for(var u=0;u<e.length;u++){var c=o+O(l=e[u],u);s+=P(l,t,a,c,i)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=P(l=l.value,t,a,c=o+O(l,u++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function R(e,t,n){if(null==e)return e;var r=[],a=0;return P(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function _(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var T={current:null},D={transition:null},F={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:D,ReactCurrentOwner:k};t.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)S.call(t,u)&&!j.hasOwnProperty(u)&&(a[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:_}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return T.current.useCallback(e,t)},t.useContext=function(e){return T.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return T.current.useDeferredValue(e)},t.useEffect=function(e,t){return T.current.useEffect(e,t)},t.useId=function(){return T.current.useId()},t.useImperativeHandle=function(e,t,n){return T.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return T.current.useMemo(e,t)},t.useReducer=function(e,t,n){return T.current.useReducer(e,t,n)},t.useRef=function(e){return T.current.useRef(e)},t.useState=function(e){return T.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return T.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return T.current.useTransition()},t.version="18.2.0"},43:(e,t,n)=>{"use strict";e.exports=n(202)},579:(e,t,n)=>{"use strict";e.exports=n(153)},234:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,y="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(v=!1,x(e),!m)if(null!==r(u))m=!0,D(S);else{var t=r(c);null!==t&&F(w,t.startTime-e)}}function S(e,n){m=!1,v&&(v=!1,g(E),E=-1),h=!0;var o=p;try{for(x(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!P());){var i=f.callback;if("function"===typeof i){f.callback=null,p=f.priorityLevel;var l=i(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(u)&&a(u),x(n)}else a(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&F(w,d.startTime-n),s=!1}return s}finally{f=null,p=o,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,j=!1,C=null,E=-1,N=5,O=-1;function P(){return!(t.unstable_now()-O<N)}function R(){if(null!==C){var e=t.unstable_now();O=e;var n=!0;try{n=C(!0,e)}finally{n?k():(j=!1,C=null)}}else j=!1}if("function"===typeof b)k=function(){b(R)};else if("undefined"!==typeof MessageChannel){var _=new MessageChannel,T=_.port2;_.port1.onmessage=R,k=function(){T.postMessage(null)}}else k=function(){y(R,0)};function D(e){C=e,j||(j=!0,k())}function F(e,n){E=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,D(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(v?(g(E),E=-1):v=!0,F(w,o-i))):(e.sortIndex=l,n(u,e),m||h||(m=!0,D(S))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},853:(e,t,n)=>{"use strict";e.exports=n(234)},895:(e,t,n)=>{"use strict";var r=n(43);var a="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},o=r.useSyncExternalStore,i=r.useRef,l=r.useEffect,s=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,c){var d=i(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=s((function(){function e(e){if(!l){if(l=!0,o=e,e=r(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return i=t}return i=e}if(t=i,a(o,e))return t;var n=r(e);return void 0!==c&&c(t,n)?t:(o=e,i=n)}var o,i,l=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,c]);var p=o(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),u(p),p}},237:(e,t,n)=>{"use strict";e.exports=n(895)},440:e=>{"use strict";var t=function(){};e.exports=t},139:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,o(n)))}return e}function o(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},540:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&a&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,n.d(o,i),o}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"static/js/"+e+".bfb43532.chunk.js",n.miniCssF=e=>{},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="gtrkstaff:";n.l=(r,a,o,i)=>{if(e[r])e[r].push(a);else{var l,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+o){l=d;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+o),l.src=r),e[r]=[a];var f=(t,n)=>{l.onerror=l.onload=null,clearTimeout(p);var a=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{var e={792:0};n.f.j=(t,r)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var o=new Promise(((n,r)=>a=e[t]=[n,r]));r.push(a[2]=o);var i=n.p+n.u(t),l=new Error;n.l(i,(r=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,a[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var a,o,i=r[0],l=r[1],s=r[2],u=0;if(i.some((t=>0!==e[t]))){for(a in l)n.o(l,a)&&(n.m[a]=l[a]);if(s)s(n)}for(t&&t(r);u<i.length;u++)o=i[u],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunkgtrkstaff=self.webpackChunkgtrkstaff||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";var e,t=n(43),r=n.t(t,2),a=n(391);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(e||(e={}));const i="popstate";function l(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function s(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function c(e,t,n,r){return void 0===n&&(n=null),o({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?f(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function f(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function p(t,n,r,a){void 0===a&&(a={});let{window:s=document.defaultView,v5Compat:f=!1}=a,p=s.history,h=e.Pop,m=null,v=y();function y(){return(p.state||{idx:null}).idx}function g(){h=e.Pop;let t=y(),n=null==t?null:t-v;v=t,m&&m({action:h,location:x.location,delta:n})}function b(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,n="string"===typeof e?e:d(e);return n=n.replace(/ $/,"%20"),l(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==v&&(v=0,p.replaceState(o({},p.state,{idx:v}),""));let x={get action(){return h},get location(){return t(s,p)},listen(e){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(i,g),m=e,()=>{s.removeEventListener(i,g),m=null}},createHref:e=>n(s,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(t,n){h=e.Push;let a=c(x.location,t,n);r&&r(a,t),v=y()+1;let o=u(a,v),i=x.createHref(a);try{p.pushState(o,"",i)}catch(l){if(l instanceof DOMException&&"DataCloneError"===l.name)throw l;s.location.assign(i)}f&&m&&m({action:h,location:x.location,delta:1})},replace:function(t,n){h=e.Replace;let a=c(x.location,t,n);r&&r(a,t),v=y();let o=u(a,v),i=x.createHref(a);p.replaceState(o,"",i),f&&m&&m({action:h,location:x.location,delta:0})},go:e=>p.go(e)};return x}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function m(e,t,n){void 0===n&&(n="/");let r=P(("string"===typeof t?f(t):t).pathname||"/",n);if(null==r)return null;let a=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let i=0;null==o&&i<a.length;++i){let e=O(r);o=E(a[i],e)}return o}function v(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let a=(e,a,o)=>{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(l(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));let s=F([r,i.relativePath]),u=n.concat(i);e.children&&e.children.length>0&&(l(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),v(e.children,t,u,s)),(null!=e.path||e.index)&&t.push({path:s,score:C(s,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of y(e.path))a(e,t,r);else a(e,t)})),t}function y(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return a?[o,""]:[o];let i=y(r.join("/")),l=[];return l.push(...i.map((e=>""===e?o:[o,e].join("/")))),a&&l.push(...i),l.map((t=>e.startsWith("/")&&""===t?"/":t))}const g=/^:[\w-]+$/,b=3,x=2,w=1,S=10,k=-2,j=e=>"*"===e;function C(e,t){let n=e.split("/"),r=n.length;return n.some(j)&&(r+=k),t&&(r+=x),n.filter((e=>!j(e))).reduce(((e,t)=>e+(g.test(t)?b:""===t?w:S)),r)}function E(e,t){let{routesMeta:n}=e,r={},a="/",o=[];for(let i=0;i<n.length;++i){let e=n[i],l=i===n.length-1,s="/"===a?t:t.slice(a.length)||"/",u=N({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},s);if(!u)return null;Object.assign(r,u.params);let c=e.route;o.push({params:r,pathname:F([a,u.pathname]),pathnameBase:M(F([a,u.pathnameBase])),route:c}),"/"!==u.pathnameBase&&(a=F([a,u.pathnameBase]))}return o}function N(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);s("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let o=new RegExp(a,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:a}=t;if("*"===r){let e=l[n]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const s=l[n];return e[r]=a&&!s?void 0:(s||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:i,pattern:e}}function O(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return s(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function P(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function R(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function _(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function T(e,t){let n=_(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function D(e,t,n,r){let a;void 0===r&&(r=!1),"string"===typeof e?a=f(e):(a=o({},e),l(!a.pathname||!a.pathname.includes("?"),R("?","pathname","search",a)),l(!a.pathname||!a.pathname.includes("#"),R("#","pathname","hash",a)),l(!a.search||!a.search.includes("#"),R("#","search","hash",a)));let i,s=""===e||""===a.pathname,u=s?"/":a.pathname;if(null==u)i=n;else{let e=t.length-1;if(!r&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}i=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:a=""}="string"===typeof e?f(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:L(r),hash:A(a)}}(a,i),d=u&&"/"!==u&&u.endsWith("/"),p=(s||"."===u)&&n.endsWith("/");return c.pathname.endsWith("/")||!d&&!p||(c.pathname+="/"),c}const F=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),L=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;function I(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const z=["post","put","patch","delete"],U=(new Set(z),["get",...z]);new Set(U),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}const Q=t.createContext(null);const q=t.createContext(null);const W=t.createContext(null);const H=t.createContext(null);const V=t.createContext({outlet:null,matches:[],isDataRoute:!1});const K=t.createContext(null);function $(){return null!=t.useContext(H)}function G(){return $()||l(!1),t.useContext(H).location}function X(e){t.useContext(W).static||t.useLayoutEffect(e)}function Y(){let{isDataRoute:e}=t.useContext(V);return e?function(){let{router:e}=le(oe.UseNavigateStable),n=ue(ie.UseNavigateStable),r=t.useRef(!1);X((()=>{r.current=!0}));let a=t.useCallback((function(t,a){void 0===a&&(a={}),r.current&&("number"===typeof t?e.navigate(t):e.navigate(t,B({fromRouteId:n},a)))}),[e,n]);return a}():function(){$()||l(!1);let e=t.useContext(Q),{basename:n,future:r,navigator:a}=t.useContext(W),{matches:o}=t.useContext(V),{pathname:i}=G(),s=JSON.stringify(T(o,r.v7_relativeSplatPath)),u=t.useRef(!1);X((()=>{u.current=!0}));let c=t.useCallback((function(t,r){if(void 0===r&&(r={}),!u.current)return;if("number"===typeof t)return void a.go(t);let o=D(t,JSON.parse(s),i,"path"===r.relative);null==e&&"/"!==n&&(o.pathname="/"===o.pathname?n:F([n,o.pathname])),(r.replace?a.replace:a.push)(o,r.state,r)}),[n,a,s,i,e]);return c}()}function J(e,n){let{relative:r}=void 0===n?{}:n,{future:a}=t.useContext(W),{matches:o}=t.useContext(V),{pathname:i}=G(),l=JSON.stringify(T(o,a.v7_relativeSplatPath));return t.useMemo((()=>D(e,JSON.parse(l),i,"path"===r)),[e,l,i,r])}function Z(n,r,a,o){$()||l(!1);let{navigator:i}=t.useContext(W),{matches:s}=t.useContext(V),u=s[s.length-1],c=u?u.params:{},d=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let p,h=G();if(r){var v;let e="string"===typeof r?f(r):r;"/"===d||(null==(v=e.pathname)?void 0:v.startsWith(d))||l(!1),p=e}else p=h;let y=p.pathname||"/",g=y;if("/"!==d){let e=d.replace(/^\//,"").split("/");g="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=m(n,{pathname:g});let x=ae(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:F([d,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:F([d,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,a,o);return r&&x?t.createElement(H.Provider,{value:{location:B({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:e.Pop}},x):x}function ee(){let e=function(){var e;let n=t.useContext(K),r=se(ie.UseRouteError),a=ue(ie.UseRouteError);if(void 0!==n)return n;return null==(e=r.errors)?void 0:e[a]}(),n=I(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:a};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),r?t.createElement("pre",{style:o},r):null,null)}const te=t.createElement(ee,null);class ne extends t.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?t.createElement(V.Provider,{value:this.props.routeContext},t.createElement(K.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function re(e){let{routeContext:n,match:r,children:a}=e,o=t.useContext(Q);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(V.Provider,{value:n},a)}function ae(e,n,r,a){var o;if(void 0===n&&(n=[]),void 0===r&&(r=null),void 0===a&&(a=null),null==e){var i;if(null==(i=r)||!i.errors)return null;e=r.matches}let s=e,u=null==(o=r)?void 0:o.errors;if(null!=u){let e=s.findIndex((e=>e.route.id&&(null==u?void 0:u[e.route.id])));e>=0||l(!1),s=s.slice(0,Math.min(s.length,e+1))}let c=!1,d=-1;if(r&&a&&a.v7_partialHydration)for(let t=0;t<s.length;t++){let e=s[t];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(d=t),e.route.id){let{loaderData:t,errors:n}=r,a=e.route.loader&&void 0===t[e.route.id]&&(!n||void 0===n[e.route.id]);if(e.route.lazy||a){c=!0,s=d>=0?s.slice(0,d+1):[s[0]];break}}}return s.reduceRight(((e,a,o)=>{let i,l=!1,f=null,p=null;var h;r&&(i=u&&a.route.id?u[a.route.id]:void 0,f=a.route.errorElement||te,c&&(d<0&&0===o?(h="route-fallback",!1||ce[h]||(ce[h]=!0),l=!0,p=null):d===o&&(l=!0,p=a.route.hydrateFallbackElement||null)));let m=n.concat(s.slice(0,o+1)),v=()=>{let n;return n=i?f:l?p:a.route.Component?t.createElement(a.route.Component,null):a.route.element?a.route.element:e,t.createElement(re,{match:a,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:n})};return r&&(a.route.ErrorBoundary||a.route.errorElement||0===o)?t.createElement(ne,{location:r.location,revalidation:r.revalidation,component:f,error:i,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()}),null)}var oe=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(oe||{}),ie=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ie||{});function le(e){let n=t.useContext(Q);return n||l(!1),n}function se(e){let n=t.useContext(q);return n||l(!1),n}function ue(e){let n=function(e){let n=t.useContext(V);return n||l(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||l(!1),r.route.id}const ce={};r.startTransition;function de(e){l(!1)}function fe(n){let{basename:r="/",children:a=null,location:o,navigationType:i=e.Pop,navigator:s,static:u=!1,future:c}=n;$()&&l(!1);let d=r.replace(/^\/*/,"/"),p=t.useMemo((()=>({basename:d,navigator:s,static:u,future:B({v7_relativeSplatPath:!1},c)})),[d,c,s,u]);"string"===typeof o&&(o=f(o));let{pathname:h="/",search:m="",hash:v="",state:y=null,key:g="default"}=o,b=t.useMemo((()=>{let e=P(h,d);return null==e?null:{location:{pathname:e,search:m,hash:v,state:y,key:g},navigationType:i}}),[d,h,m,v,y,g,i]);return null==b?null:t.createElement(W.Provider,{value:p},t.createElement(H.Provider,{children:a,value:b}))}function pe(e){let{children:t,location:n}=e;return Z(he(t),n)}new Promise((()=>{}));t.Component;function he(e,n){void 0===n&&(n=[]);let r=[];return t.Children.forEach(e,((e,a)=>{if(!t.isValidElement(e))return;let o=[...n,a];if(e.type===t.Fragment)return void r.push.apply(r,he(e.props.children,o));e.type!==de&&l(!1),e.props.index&&e.props.children&&l(!1);let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=he(e.props.children,o)),r.push(i)})),r}var me=n(139),ve=n.n(me),ye=n(579);const ge=["xxl","xl","lg","md","sm","xs"],be="xs",xe=t.createContext({prefixes:{},breakpoints:ge,minBreakpoint:be}),{Consumer:we,Provider:Se}=xe;function ke(e,n){const{prefixes:r}=(0,t.useContext)(xe);return e||r[n]||n}function je(){const{breakpoints:e}=(0,t.useContext)(xe);return e}function Ce(){const{minBreakpoint:e}=(0,t.useContext)(xe);return e}function Ee(){const{dir:e}=(0,t.useContext)(xe);return"rtl"===e}const Ne=t.forwardRef(((e,t)=>{let{bsPrefix:n,fluid:r=!1,as:a="div",className:o,...i}=e;const l=ke(n,"container"),s="string"===typeof r?"-".concat(r):"-fluid";return(0,ye.jsx)(a,{ref:t,...i,className:ve()(o,r?"".concat(l).concat(s):l)})}));Ne.displayName="Container";const Oe=Ne;n(197);var Pe=n(168);function Re(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n(740);function _e(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Te(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}function De(e,n){return Object.keys(n).reduce((function(r,a){var o,i=r,l=i[_e(a)],s=i[a],u=Re(i,[_e(a),a].map(Te)),c=n[a],d=function(e,n,r){var a=(0,t.useRef)(void 0!==e),o=(0,t.useState)(n),i=o[0],l=o[1],s=void 0!==e,u=a.current;return a.current=s,!s&&u&&i!==n&&l(n),[s?e:i,(0,t.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];r&&r.apply(void 0,[e].concat(n)),l(e)}),[r])]}(s,l,e[c]),f=d[0],p=d[1];return(0,Pe.A)({},u,((o={})[a]=f,o[c]=p,o))}),e)}function Fe(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function Me(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function Le(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}Fe.__suppressDeprecationWarning=!0,Me.__suppressDeprecationWarning=!0,Le.__suppressDeprecationWarning=!0;var Ae=Function.prototype.bind.call(Function.prototype.call,[].slice);function Ie(e,t){return Ae(e.querySelectorAll(t))}function ze(){const[,e]=(0,t.useReducer)((e=>!e),!1);return e}const Ue=e=>e&&"function"!==typeof e?t=>{e.current=t}:e;const Be=function(e,n){return(0,t.useMemo)((()=>function(e,t){const n=Ue(e),r=Ue(t);return e=>{n&&n(e),r&&r(e)}}(e,n)),[e,n])},Qe=t.createContext(null);Qe.displayName="NavContext";const qe=Qe,We=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null!=e?String(e):t||null},He=t.createContext(null),Ve=t.createContext(null),Ke="data-rr-ui-";function $e(e){return"".concat(Ke).concat(e)}const Ge=function(e){const n=(0,t.useRef)(e);return(0,t.useEffect)((()=>{n.current=e}),[e]),n};function Xe(e){const n=Ge(e);return(0,t.useCallback)((function(){return n.current&&n.current(...arguments)}),[n])}const Ye=["as","disabled"];function Je(e){let{tagName:t,disabled:n,href:r,target:a,rel:o,role:i,onClick:l,tabIndex:s=0,type:u}=e;t||(t=null!=r||null!=a||null!=o?"a":"button");const c={tagName:t};if("button"===t)return[{type:u||"button",disabled:n},c];const d=e=>{(n||"a"===t&&function(e){return!e||"#"===e.trim()}(r))&&e.preventDefault(),n?e.stopPropagation():null==l||l(e)};return"a"===t&&(r||(r="#"),n&&(r=void 0)),[{role:null!=i?i:"button",disabled:void 0,tabIndex:n?void 0:s,href:r,target:"a"===t?a:void 0,"aria-disabled":n||void 0,rel:"a"===t?o:void 0,onClick:d,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),d(e))}},c]}const Ze=t.forwardRef(((e,t)=>{let{as:n,disabled:r}=e,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,Ye);const[o,{tagName:i}]=Je(Object.assign({tagName:n,disabled:r},a));return(0,ye.jsx)(i,Object.assign({},a,o,{ref:t}))}));Ze.displayName="Button";const et=Ze,tt=["as","active","eventKey"];function nt(e){let{key:n,onClick:r,active:a,id:o,role:i,disabled:l}=e;const s=(0,t.useContext)(He),u=(0,t.useContext)(qe),c=(0,t.useContext)(Ve);let d=a;const f={role:i};if(u){i||"tablist"!==u.role||(f.role="tab");const e=u.getControllerId(null!=n?n:null),t=u.getControlledId(null!=n?n:null);f[$e("event-key")]=n,f.id=e||o,d=null==a&&null!=n?u.activeKey===n:a,!d&&(null!=c&&c.unmountOnExit||null!=c&&c.mountOnEnter)||(f["aria-controls"]=t)}return"tab"===f.role&&(f["aria-selected"]=d,d||(f.tabIndex=-1),l&&(f.tabIndex=-1,f["aria-disabled"]=!0)),f.onClick=Xe((e=>{l||(null==r||r(e),null!=n&&s&&!e.isPropagationStopped()&&s(n,e))})),[f,{isActive:d}]}const rt=t.forwardRef(((e,t)=>{let{as:n=et,active:r,eventKey:a}=e,o=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,tt);const[i,l]=nt(Object.assign({key:We(a,o.href),active:r},o));return i[$e("active")]=l.isActive,(0,ye.jsx)(n,Object.assign({},o,i,{ref:t}))}));rt.displayName="NavItem";const at=rt,ot=["as","onSelect","activeKey","role","onKeyDown"];const it=()=>{},lt=$e("event-key"),st=t.forwardRef(((e,n)=>{let{as:r="div",onSelect:a,activeKey:o,role:i,onKeyDown:l}=e,s=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,ot);const u=ze(),c=(0,t.useRef)(!1),d=(0,t.useContext)(He),f=(0,t.useContext)(Ve);let p,h;f&&(i=i||"tablist",o=f.activeKey,p=f.getControlledId,h=f.getControllerId);const m=(0,t.useRef)(null),v=e=>{const t=m.current;if(!t)return null;const n=Ie(t,"[".concat(lt,"]:not([aria-disabled=true])")),r=t.querySelector("[aria-selected=true]");if(!r||r!==document.activeElement)return null;const a=n.indexOf(r);if(-1===a)return null;let o=a+e;return o>=n.length&&(o=0),o<0&&(o=n.length-1),n[o]},y=(e,t)=>{null!=e&&(null==a||a(e,t),null==d||d(e,t))};(0,t.useEffect)((()=>{if(m.current&&c.current){const e=m.current.querySelector("[".concat(lt,"][aria-selected=true]"));null==e||e.focus()}c.current=!1}));const g=Be(n,m);return(0,ye.jsx)(He.Provider,{value:y,children:(0,ye.jsx)(qe.Provider,{value:{role:i,activeKey:We(o),getControlledId:p||it,getControllerId:h||it},children:(0,ye.jsx)(r,Object.assign({},s,{onKeyDown:e=>{if(null==l||l(e),!f)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=v(-1);break;case"ArrowRight":case"ArrowDown":t=v(1);break;default:return}var n;t&&(e.preventDefault(),y(t.dataset[(n="EventKey","".concat("rrUi").concat(n))]||null,e),c.current=!0,u())},ref:g,role:i}))})})}));st.displayName="Nav";const ut=Object.assign(st,{Item:at}),ct=t.createContext(null);ct.displayName="NavbarContext";const dt=ct,ft=t.createContext(null);ft.displayName="CardHeaderContext";const pt=ft,ht=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=ke(r,"nav-item"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));ht.displayName="NavItem";const mt=ht;function vt(){return(0,t.useState)(null)}function yt(){const e=(0,t.useRef)(!0),n=(0,t.useRef)((()=>e.current));return(0,t.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),n.current}function gt(e){const n=(0,t.useRef)(null);return(0,t.useEffect)((()=>{n.current=e})),n.current}const bt="undefined"!==typeof n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,xt="undefined"!==typeof document||bt?t.useLayoutEffect:t.useEffect;new WeakMap;const wt=["onKeyDown"];const St=t.forwardRef(((e,t)=>{let{onKeyDown:n}=e,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,wt);const[a]=Je(Object.assign({tagName:"a"},r)),o=Xe((e=>{a.onKeyDown(e),null==n||n(e)}));return(i=r.href)&&"#"!==i.trim()&&"button"!==r.role?(0,ye.jsx)("a",Object.assign({ref:t},r,{onKeyDown:n})):(0,ye.jsx)("a",Object.assign({ref:t},r,a,{onKeyDown:o}));var i}));St.displayName="Anchor";const kt=St,jt=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,as:a=kt,active:o,eventKey:i,disabled:l=!1,...s}=e;n=ke(n,"nav-link");const[u,c]=nt({key:We(i,s.href),active:o,disabled:l,...s});return(0,ye.jsx)(a,{...s,...u,ref:t,disabled:l,className:ve()(r,n,l&&"disabled",c.isActive&&"active")})}));jt.displayName="NavLink";const Ct=jt,Et=t.forwardRef(((e,n)=>{const{as:r="div",bsPrefix:a,variant:o,fill:i=!1,justify:l=!1,navbar:s,navbarScroll:u,className:c,activeKey:d,...f}=De(e,{activeKey:"onSelect"}),p=ke(a,"nav");let h,m,v=!1;const y=(0,t.useContext)(dt),g=(0,t.useContext)(pt);return y?(h=y.bsPrefix,v=null==s||s):g&&({cardHeaderBsPrefix:m}=g),(0,ye.jsx)(ut,{as:r,ref:n,activeKey:d,className:ve()(c,{[p]:!v,["".concat(h,"-nav")]:v,["".concat(h,"-nav-scroll")]:v&&u,["".concat(m,"-").concat(o)]:!!m,["".concat(p,"-").concat(o)]:!!o,["".concat(p,"-fill")]:i,["".concat(p,"-justified")]:l}),...f})}));Et.displayName="Nav";const Nt=Object.assign(Et,{Item:mt,Link:Ct}),Ot=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,as:a,...o}=e;n=ke(n,"navbar-brand");const i=a||(o.href?"a":"span");return(0,ye.jsx)(i,{...o,ref:t,className:ve()(r,n)})}));Ot.displayName="NavbarBrand";const Pt=Ot;function Rt(e){return e&&e.ownerDocument||document}function _t(e,t){return function(e){var t=Rt(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var Tt=/([A-Z])/g;var Dt=/^ms-/;function Ft(e){return function(e){return e.replace(Tt,"-$1").toLowerCase()}(e).replace(Dt,"-ms-")}var Mt=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const Lt=function(e,t){var n="",r="";if("string"===typeof t)return e.style.getPropertyValue(Ft(t))||_t(e).getPropertyValue(Ft(t));Object.keys(t).forEach((function(a){var o=t[a];o||0===o?!function(e){return!(!e||!Mt.test(e))}(a)?n+=Ft(a)+": "+o+";":r+=a+"("+o+") ":e.style.removeProperty(Ft(a))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};var At=n(540),It=n(950),zt=n.t(It,2);const Ut=!1,Bt=t.createContext(null);var Qt="unmounted",qt="exited",Wt="entering",Ht="entered",Vt="exiting",Kt=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var a,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(a=qt,r.appearStatus=Wt):a=Ht:a=t.unmountOnExit||t.mountOnEnter?Qt:qt,r.state={status:a},r.nextCallback=null,r}(0,At.A)(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Qt?{status:qt}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Wt&&n!==Ht&&(t=Wt):n!==Wt&&n!==Ht||(t=Vt)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Wt){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:It.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===qt&&this.setState({status:Qt})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,a=this.props.nodeRef?[r]:[It.findDOMNode(this),r],o=a[0],i=a[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||Ut?this.safeSetState({status:Ht},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,i),this.safeSetState({status:Wt},(function(){t.props.onEntering(o,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:Ht},(function(){t.props.onEntered(o,i)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:It.findDOMNode(this);t&&!Ut?(this.props.onExit(r),this.safeSetState({status:Vt},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:qt},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:qt},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:It.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=a[0],i=a[1];this.props.addEndListener(o,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===Qt)return null;var n=this.props,r=n.children,a=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,Re(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Bt.Provider,{value:null},"function"===typeof r?r(e,a):t.cloneElement(t.Children.only(r),a))},n}(t.Component);function $t(){}Kt.contextType=Bt,Kt.propTypes={},Kt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:$t,onEntering:$t,onEntered:$t,onExit:$t,onExiting:$t,onExited:$t},Kt.UNMOUNTED=Qt,Kt.EXITED=qt,Kt.ENTERING=Wt,Kt.ENTERED=Ht,Kt.EXITING=Vt;const Gt=Kt,Xt=!("undefined"===typeof window||!window.document||!window.document.createElement);var Yt=!1,Jt=!1;try{var Zt={get passive(){return Yt=!0},get once(){return Jt=Yt=!0}};Xt&&(window.addEventListener("test",Zt,Zt),window.removeEventListener("test",Zt,!0))}catch(Td){}const en=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!Jt){var a=r.once,o=r.capture,i=n;!Jt&&a&&(i=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=i),e.addEventListener(t,i,Yt?r:o)}e.addEventListener(t,n,r)};const tn=function(e,t,n,r){var a=r&&"boolean"!==typeof r?r.capture:r;e.removeEventListener(t,n,a),n.__once&&e.removeEventListener(t,n.__once,a)};const nn=function(e,t,n,r){return en(e,t,n,r),function(){tn(e,t,n,r)}};function rn(e,t,n){void 0===n&&(n=5);var r=!1,a=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var a=document.createEvent("HTMLEvents");a.initEvent(t,n,r),e.dispatchEvent(a)}}(e,"transitionend",!0)}),t+n),o=nn(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(a),o()}}function an(e,t,n,r){null==n&&(n=function(e){var t=Lt(e,"transitionDuration")||"",n=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*n}(e)||0);var a=rn(e,n,r),o=nn(e,"transitionend",t);return function(){a(),o()}}function on(e,t){const n=Lt(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function ln(e,t){const n=on(e,"transitionDuration"),r=on(e,"transitionDelay"),a=an(e,(n=>{n.target===e&&(a(),t(n))}),n+r)}const sn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e=>null!=e)).reduce(((e,t)=>{if("function"!==typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];e.apply(this,r),t.apply(this,r)}}),null)};function un(e){e.offsetHeight}const cn=t.forwardRef(((e,n)=>{let{onEnter:r,onEntering:a,onEntered:o,onExit:i,onExiting:l,onExited:s,addEndListener:u,children:c,childRef:d,...f}=e;const p=(0,t.useRef)(null),h=Be(p,d),m=e=>{var t;h((t=e)&&"setState"in t?It.findDOMNode(t):null!=t?t:null)},v=e=>t=>{e&&p.current&&e(p.current,t)},y=(0,t.useCallback)(v(r),[r]),g=(0,t.useCallback)(v(a),[a]),b=(0,t.useCallback)(v(o),[o]),x=(0,t.useCallback)(v(i),[i]),w=(0,t.useCallback)(v(l),[l]),S=(0,t.useCallback)(v(s),[s]),k=(0,t.useCallback)(v(u),[u]);return(0,ye.jsx)(Gt,{ref:n,...f,onEnter:y,onEntered:b,onEntering:g,onExit:x,onExited:S,onExiting:w,addEndListener:k,nodeRef:p,children:"function"===typeof c?(e,t)=>c(e,{...t,ref:m}):t.cloneElement(c,{ref:m})})})),dn={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function fn(e,t){const n=t["offset".concat(e[0].toUpperCase()).concat(e.slice(1))],r=dn[e];return n+parseInt(Lt(t,r[0]),10)+parseInt(Lt(t,r[1]),10)}const pn={[qt]:"collapse",[Vt]:"collapsing",[Wt]:"collapsing",[Ht]:"collapse show"},hn=t.forwardRef(((e,n)=>{let{onEnter:r,onEntering:a,onEntered:o,onExit:i,onExiting:l,className:s,children:u,dimension:c="height",in:d=!1,timeout:f=300,mountOnEnter:p=!1,unmountOnExit:h=!1,appear:m=!1,getDimensionValue:v=fn,...y}=e;const g="function"===typeof c?c():c,b=(0,t.useMemo)((()=>sn((e=>{e.style[g]="0"}),r)),[g,r]),x=(0,t.useMemo)((()=>sn((e=>{const t="scroll".concat(g[0].toUpperCase()).concat(g.slice(1));e.style[g]="".concat(e[t],"px")}),a)),[g,a]),w=(0,t.useMemo)((()=>sn((e=>{e.style[g]=null}),o)),[g,o]),S=(0,t.useMemo)((()=>sn((e=>{e.style[g]="".concat(v(g,e),"px"),un(e)}),i)),[i,v,g]),k=(0,t.useMemo)((()=>sn((e=>{e.style[g]=null}),l)),[g,l]);return(0,ye.jsx)(cn,{ref:n,addEndListener:ln,...y,"aria-expanded":y.role?d:null,onEnter:b,onEntering:x,onEntered:w,onExit:S,onExiting:k,childRef:u.ref,in:d,timeout:f,mountOnEnter:p,unmountOnExit:h,appear:m,children:(e,n)=>t.cloneElement(u,{...n,className:ve()(s,u.props.className,pn[e],"width"===g&&"collapse-horizontal")})})})),mn=t.forwardRef(((e,n)=>{let{children:r,bsPrefix:a,...o}=e;a=ke(a,"navbar-collapse");const i=(0,t.useContext)(dt);return(0,ye.jsx)(hn,{in:!(!i||!i.expanded),...o,children:(0,ye.jsx)("div",{ref:n,className:a,children:r})})}));mn.displayName="NavbarCollapse";const vn=mn,yn=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:a,children:o,label:i="Toggle navigation",as:l="button",onClick:s,...u}=e;r=ke(r,"navbar-toggler");const{onToggle:c,expanded:d}=(0,t.useContext)(dt)||{},f=Xe((e=>{s&&s(e),c&&c()}));return"button"===l&&(u.type="button"),(0,ye.jsx)(l,{...u,ref:n,onClick:f,"aria-label":i,className:ve()(a,r,!d&&"collapsed"),children:o||(0,ye.jsx)("span",{className:"".concat(r,"-icon")})})}));yn.displayName="NavbarToggle";const gn=yn,bn=new WeakMap,xn=(e,t)=>{if(!e||!t)return;const n=bn.get(t)||new Map;bn.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function wn(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"===typeof window?void 0:window;const r=xn(e,n),[a,o]=(0,t.useState)((()=>!!r&&r.matches));return xt((()=>{let t=xn(e,n);if(!t)return o(!1);let r=bn.get(n);const a=()=>{o(t.matches)};return t.refCount++,t.addListener(a),a(),()=>{t.removeListener(a),t.refCount--,t.refCount<=0&&(null==r||r.delete(t.media)),t=void 0}}),[e]),a}const Sn=function(e){const n=Object.keys(e);function r(e,t){return e===t?t:e?"".concat(e," and ").concat(t):t}function a(t){const r=function(e){return n[Math.min(n.indexOf(e)+1,n.length-1)]}(t);let a=e[r];return a="number"===typeof a?"".concat(a-.2,"px"):"calc(".concat(a," - 0.2px)"),"(max-width: ".concat(a,")")}return function(n,o,i){let l;return"object"===typeof n?(l=n,i=o,o=!0):l={[n]:o=o||!0},wn((0,t.useMemo)((()=>Object.entries(l).reduce(((t,n)=>{let[o,i]=n;return"up"!==i&&!0!==i||(t=r(t,function(t){let n=e[t];return"number"===typeof n&&(n="".concat(n,"px")),"(min-width: ".concat(n,")")}(o))),"down"!==i&&!0!==i||(t=r(t,a(o))),t}),"")),[JSON.stringify(l)]),i)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400});function kn(e){void 0===e&&(e=Rt());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(Td){return e.body}}function jn(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}function Cn(e){const n=function(e){const n=(0,t.useRef)(e);return n.current=e,n}(e);(0,t.useEffect)((()=>()=>n.current()),[])}const En=$e("modal-open");const Nn=class{constructor(){let{ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[n]:r.style[n]},e.scrollBarWidth&&(t[n]="".concat(parseInt(Lt(r,n)||"0",10)+e.scrollBarWidth,"px")),r.setAttribute(En,""),Lt(r,t)}reset(){[...this.modals].forEach((e=>this.remove(e)))}removeContainerStyle(e){const t=this.getElement();t.removeAttribute(En),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return-1!==t?t:(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),t)}remove(e){const t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},On=(0,t.createContext)(Xt?window:void 0);On.Provider;function Pn(){return(0,t.useContext)(On)}const Rn=(e,t)=>Xt?null==e?(t||Rt()).body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;const _n=function(e){let{children:n,in:r,onExited:a,mountOnEnter:o,unmountOnExit:i}=e;const l=(0,t.useRef)(null),s=(0,t.useRef)(r),u=Xe(a);(0,t.useEffect)((()=>{r?s.current=!0:u(l.current)}),[r,u]);const c=Be(l,n.ref),d=(0,t.cloneElement)(n,{ref:c});return r?d:i||!s.current&&o?null:d};function Tn(e){let{children:n,in:r,onExited:a,onEntered:o,transition:i}=e;const[l,s]=(0,t.useState)(!r);r&&l&&s(!1);const u=function(e){let{in:n,onTransition:r}=e;const a=(0,t.useRef)(null),o=(0,t.useRef)(!0),i=Xe(r);return xt((()=>{if(!a.current)return;let e=!1;return i({in:n,element:a.current,initial:o.current,isStale:()=>e}),()=>{e=!0}}),[n,i]),xt((()=>(o.current=!1,()=>{o.current=!0})),[]),a}({in:!!r,onTransition:e=>{Promise.resolve(i(e)).then((()=>{e.isStale()||(e.in?null==o||o(e.element,e.initial):(s(!0),null==a||a(e.element)))}),(t=>{throw e.in||s(!0),t}))}}),c=Be(u,n.ref);return l&&!r?null:(0,t.cloneElement)(n,{ref:c})}function Dn(e,t,n){return e?(0,ye.jsx)(e,Object.assign({},n)):t?(0,ye.jsx)(Tn,Object.assign({},n,{transition:t})):(0,ye.jsx)(_n,Object.assign({},n))}const Fn=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];let Mn;function Ln(e){const n=Pn(),r=e||function(e){return Mn||(Mn=new Nn({ownerDocument:null==e?void 0:e.document})),Mn}(n),a=(0,t.useRef)({dialog:null,backdrop:null});return Object.assign(a.current,{add:()=>r.add(a.current),remove:()=>r.remove(a.current),isTopModal:()=>r.isTopModal(a.current),setDialogRef:(0,t.useCallback)((e=>{a.current.dialog=e}),[]),setBackdropRef:(0,t.useCallback)((e=>{a.current.backdrop=e}),[])})}const An=(0,t.forwardRef)(((e,n)=>{let{show:r=!1,role:a="dialog",className:o,style:i,children:l,backdrop:s=!0,keyboard:u=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:f,runTransition:p,backdropTransition:h,runBackdropTransition:m,autoFocus:v=!0,enforceFocus:y=!0,restoreFocus:g=!0,restoreFocusOptions:b,renderDialog:x,renderBackdrop:w=(e=>(0,ye.jsx)("div",Object.assign({},e))),manager:S,container:k,onShow:j,onHide:C=(()=>{}),onExit:E,onExited:N,onExiting:O,onEnter:P,onEntering:R,onEntered:_}=e,T=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,Fn);const D=Pn(),F=function(e,n){const r=Pn(),[a,o]=(0,t.useState)((()=>Rn(e,null==r?void 0:r.document)));if(!a){const t=Rn(e);t&&o(t)}return(0,t.useEffect)((()=>{n&&a&&n(a)}),[n,a]),(0,t.useEffect)((()=>{const t=Rn(e);t!==a&&o(t)}),[e,a]),a}(k),M=Ln(S),L=yt(),A=gt(r),[I,z]=(0,t.useState)(!r),U=(0,t.useRef)(null);(0,t.useImperativeHandle)(n,(()=>M),[M]),Xt&&!A&&r&&(U.current=kn(null==D?void 0:D.document)),r&&I&&z(!1);const B=Xe((()=>{if(M.add(),K.current=nn(document,"keydown",H),V.current=nn(document,"focus",(()=>setTimeout(q)),!0),j&&j(),v){var e,t;const n=kn(null!=(e=null==(t=M.dialog)?void 0:t.ownerDocument)?e:null==D?void 0:D.document);M.dialog&&n&&!jn(M.dialog,n)&&(U.current=n,M.dialog.focus())}})),Q=Xe((()=>{var e;(M.remove(),null==K.current||K.current(),null==V.current||V.current(),g)&&(null==(e=U.current)||null==e.focus||e.focus(b),U.current=null)}));(0,t.useEffect)((()=>{r&&F&&B()}),[r,F,B]),(0,t.useEffect)((()=>{I&&Q()}),[I,Q]),Cn((()=>{Q()}));const q=Xe((()=>{if(!y||!L()||!M.isTopModal())return;const e=kn(null==D?void 0:D.document);M.dialog&&e&&!jn(M.dialog,e)&&M.dialog.focus()})),W=Xe((e=>{e.target===e.currentTarget&&(null==c||c(e),!0===s&&C())})),H=Xe((e=>{u&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&M.isTopModal()&&(null==d||d(e),e.defaultPrevented||C())})),V=(0,t.useRef)(),K=(0,t.useRef)();if(!F)return null;const $=Object.assign({role:a,ref:M.setDialogRef,"aria-modal":"dialog"===a||void 0},T,{style:i,className:o,tabIndex:-1});let G=x?x($):(0,ye.jsx)("div",Object.assign({},$,{children:t.cloneElement(l,{role:"document"})}));G=Dn(f,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:E,onExiting:O,onExited:function(){z(!0),null==N||N(...arguments)},onEnter:P,onEntering:R,onEntered:_,children:G});let X=null;return s&&(X=w({ref:M.setBackdropRef,onClick:W}),X=Dn(h,m,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:X})),(0,ye.jsx)(ye.Fragment,{children:It.createPortal((0,ye.jsxs)(ye.Fragment,{children:[X,G]}),F)})}));An.displayName="Modal";const In=Object.assign(An,{Manager:Nn}),zn={[Wt]:"show",[Ht]:"show"},Un=t.forwardRef(((e,n)=>{let{className:r,children:a,transitionClasses:o={},onEnter:i,...l}=e;const s={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...l},u=(0,t.useCallback)(((e,t)=>{un(e),null==i||i(e,t)}),[i]);return(0,ye.jsx)(cn,{ref:n,addEndListener:ln,...s,onEnter:u,childRef:a.ref,children:(e,n)=>t.cloneElement(a,{...n,className:ve()("fade",r,a.props.className,zn[e],o[e])})})}));Un.displayName="Fade";const Bn=Un,Qn=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=ke(r,"offcanvas-body"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));Qn.displayName="OffcanvasBody";const qn=Qn,Wn={[Wt]:"show",[Ht]:"show"},Hn=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:a,children:o,in:i=!1,mountOnEnter:l=!1,unmountOnExit:s=!1,appear:u=!1,...c}=e;return r=ke(r,"offcanvas"),(0,ye.jsx)(cn,{ref:n,addEndListener:ln,in:i,mountOnEnter:l,unmountOnExit:s,appear:u,...c,childRef:o.ref,children:(e,n)=>t.cloneElement(o,{...n,className:ve()(a,o.props.className,(e===Wt||e===Vt)&&"".concat(r,"-toggling"),Wn[e])})})}));Hn.displayName="OffcanvasToggling";const Vn=Hn,Kn=t.createContext({onHide(){}});var $n=n(173),Gn=n.n($n);const Xn={"aria-label":Gn().string,onClick:Gn().func,variant:Gn().oneOf(["white"])},Yn=t.forwardRef(((e,t)=>{let{className:n,variant:r,"aria-label":a="Close",...o}=e;return(0,ye.jsx)("button",{ref:t,type:"button",className:ve()("btn-close",r&&"btn-close-".concat(r),n),"aria-label":a,...o})}));Yn.displayName="CloseButton",Yn.propTypes=Xn;const Jn=Yn,Zn=t.forwardRef(((e,n)=>{let{closeLabel:r="Close",closeVariant:a,closeButton:o=!1,onHide:i,children:l,...s}=e;const u=(0,t.useContext)(Kn),c=Xe((()=>{null==u||u.onHide(),null==i||i()}));return(0,ye.jsxs)("div",{ref:n,...s,children:[l,o&&(0,ye.jsx)(Jn,{"aria-label":r,variant:a,onClick:c})]})})),er=Zn,tr=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,closeLabel:a="Close",closeButton:o=!1,...i}=e;return n=ke(n,"offcanvas-header"),(0,ye.jsx)(er,{ref:t,...i,className:ve()(r,n),closeLabel:a,closeButton:o})}));tr.displayName="OffcanvasHeader";const nr=tr,rr=e=>t.forwardRef(((t,n)=>(0,ye.jsx)("div",{...t,ref:n,className:ve()(t.className,e)}))),ar=rr("h5"),or=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a=ar,...o}=e;return r=ke(r,"offcanvas-title"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));or.displayName="OffcanvasTitle";const ir=or;function lr(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const sr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ur=".sticky-top",cr=".navbar-toggler";class dr extends Nn{adjustAndStore(e,t,n){const r=t.style[e];t.dataset[e]=r,Lt(t,{[e]:"".concat(parseFloat(Lt(t,e))+n,"px")})}restore(e,t){const n=t.dataset[e];void 0!==n&&(delete t.dataset[e],Lt(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);const t=this.getElement();var n,r;if(r="modal-open",(n=t).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;const a=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";Ie(t,sr).forEach((t=>this.adjustAndStore(a,t,e.scrollBarWidth))),Ie(t,ur).forEach((t=>this.adjustAndStore(o,t,-e.scrollBarWidth))),Ie(t,cr).forEach((t=>this.adjustAndStore(o,t,e.scrollBarWidth)))}removeContainerStyle(e){super.removeContainerStyle(e);const t=this.getElement();var n,r;r="modal-open",(n=t).classList?n.classList.remove(r):"string"===typeof n.className?n.className=lr(n.className,r):n.setAttribute("class",lr(n.className&&n.className.baseVal||"",r));const a=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";Ie(t,sr).forEach((e=>this.restore(a,e))),Ie(t,ur).forEach((e=>this.restore(o,e))),Ie(t,cr).forEach((e=>this.restore(o,e)))}}let fr;function pr(e){return fr||(fr=new dr(e)),fr}const hr=dr;function mr(e){return(0,ye.jsx)(Vn,{...e})}function vr(e){return(0,ye.jsx)(Bn,{...e})}const yr=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:a,children:o,"aria-labelledby":i,placement:l="start",responsive:s,show:u=!1,backdrop:c=!0,keyboard:d=!0,scroll:f=!1,onEscapeKeyDown:p,onShow:h,onHide:m,container:v,autoFocus:y=!0,enforceFocus:g=!0,restoreFocus:b=!0,restoreFocusOptions:x,onEntered:w,onExit:S,onExiting:k,onEnter:j,onEntering:C,onExited:E,backdropClassName:N,manager:O,renderStaticNode:P=!1,...R}=e;const _=(0,t.useRef)();r=ke(r,"offcanvas");const{onToggle:T}=(0,t.useContext)(dt)||{},[D,F]=(0,t.useState)(!1),M=Sn(s||"xs","up");(0,t.useEffect)((()=>{F(s?u&&!M:u)}),[u,s,M]);const L=Xe((()=>{null==T||T(),null==m||m()})),A=(0,t.useMemo)((()=>({onHide:L})),[L]);const I=(0,t.useCallback)((e=>(0,ye.jsx)("div",{...e,className:ve()("".concat(r,"-backdrop"),N)})),[N,r]),z=e=>(0,ye.jsx)("div",{...e,...R,className:ve()(a,s?"".concat(r,"-").concat(s):r,"".concat(r,"-").concat(l)),"aria-labelledby":i,children:o});return(0,ye.jsxs)(ye.Fragment,{children:[!D&&(s||P)&&z({}),(0,ye.jsx)(Kn.Provider,{value:A,children:(0,ye.jsx)(In,{show:D,ref:n,backdrop:c,container:v,keyboard:d,autoFocus:y,enforceFocus:g&&!f,restoreFocus:b,restoreFocusOptions:x,onEscapeKeyDown:p,onShow:h,onHide:L,onEnter:function(e){e&&(e.style.visibility="visible");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==j||j(e,...n)},onEntering:C,onEntered:w,onExit:S,onExiting:k,onExited:function(e){e&&(e.style.visibility="");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];null==E||E(...n)},manager:O||(f?(_.current||(_.current=new hr({handleContainerOverflow:!1})),_.current):pr()),transition:mr,backdropTransition:vr,renderBackdrop:I,renderDialog:z})})]})}));yr.displayName="Offcanvas";const gr=Object.assign(yr,{Body:qn,Header:nr,Title:ir}),br=t.forwardRef(((e,n)=>{const r=(0,t.useContext)(dt);return(0,ye.jsx)(gr,{ref:n,show:!(null==r||!r.expanded),...e,renderStaticNode:!0})}));br.displayName="NavbarOffcanvas";const xr=br,wr=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="span",...o}=e;return r=ke(r,"navbar-text"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));wr.displayName="NavbarText";const Sr=wr,kr=t.forwardRef(((e,n)=>{const{bsPrefix:r,expand:a=!0,variant:o="light",bg:i,fixed:l,sticky:s,className:u,as:c="nav",expanded:d,onToggle:f,onSelect:p,collapseOnSelect:h=!1,...m}=De(e,{expanded:"onToggle"}),v=ke(r,"navbar"),y=(0,t.useCallback)((function(){null==p||p(...arguments),h&&d&&(null==f||f(!1))}),[p,h,d,f]);void 0===m.role&&"nav"!==c&&(m.role="navigation");let g="".concat(v,"-expand");"string"===typeof a&&(g="".concat(g,"-").concat(a));const b=(0,t.useMemo)((()=>({onToggle:()=>null==f?void 0:f(!d),bsPrefix:v,expanded:!!d,expand:a})),[v,d,a,f]);return(0,ye.jsx)(dt.Provider,{value:b,children:(0,ye.jsx)(He.Provider,{value:y,children:(0,ye.jsx)(c,{ref:n,...m,className:ve()(u,v,a&&g,o&&"".concat(v,"-").concat(o),i&&"bg-".concat(i),s&&"sticky-".concat(s),l&&"fixed-".concat(l))})})})}));kr.displayName="Navbar";const jr=Object.assign(kr,{Brand:Pt,Collapse:vn,Offcanvas:xr,Text:Sr,Toggle:gn});function Cr(e,n,r){const a=(0,t.useRef)(void 0!==e),[o,i]=(0,t.useState)(n),l=void 0!==e,s=a.current;return a.current=l,!l&&s&&o!==n&&i(n),[l?e:o,(0,t.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const[a,...o]=t;let l=null==r?void 0:r(a,...o);return i(a),l}),[r])]}const Er=t.createContext(null);var Nr=Object.prototype.hasOwnProperty;function Or(e,t,n){for(n of e.keys())if(Pr(n,t))return n}function Pr(e,t){var n,r,a;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&Pr(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e){if((a=r)&&"object"===typeof a&&!(a=Or(t,a)))return!1;if(!t.has(a))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e){if((a=r[0])&&"object"===typeof a&&!(a=Or(t,a)))return!1;if(!Pr(r[1],t.get(a)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"===typeof e){for(n in r=0,e){if(Nr.call(e,n)&&++r&&!Nr.call(t,n))return!1;if(!(n in t)||!Pr(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!==e&&t!==t}const Rr=function(e){const n=yt();return[e[0],(0,t.useCallback)((t=>{if(n())return e[1](t)}),[n,e[1]])]};function _r(e){return e.split("-")[0]}function Tr(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Dr(e){return e instanceof Tr(e).Element||e instanceof Element}function Fr(e){return e instanceof Tr(e).HTMLElement||e instanceof HTMLElement}function Mr(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Tr(e).ShadowRoot||e instanceof ShadowRoot)}var Lr=Math.max,Ar=Math.min,Ir=Math.round;function zr(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ur(){return!/^((?!chrome|android).)*safari/i.test(zr())}function Br(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,o=1;t&&Fr(e)&&(a=e.offsetWidth>0&&Ir(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Ir(r.height)/e.offsetHeight||1);var i=(Dr(e)?Tr(e):window).visualViewport,l=!Ur()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/a,u=(r.top+(l&&i?i.offsetTop:0))/o,c=r.width/a,d=r.height/o;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function Qr(e){var t=Br(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function qr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Mr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Wr(e){return e?(e.nodeName||"").toLowerCase():null}function Hr(e){return Tr(e).getComputedStyle(e)}function Vr(e){return["table","td","th"].indexOf(Wr(e))>=0}function Kr(e){return((Dr(e)?e.ownerDocument:e.document)||window.document).documentElement}function $r(e){return"html"===Wr(e)?e:e.assignedSlot||e.parentNode||(Mr(e)?e.host:null)||Kr(e)}function Gr(e){return Fr(e)&&"fixed"!==Hr(e).position?e.offsetParent:null}function Xr(e){for(var t=Tr(e),n=Gr(e);n&&Vr(n)&&"static"===Hr(n).position;)n=Gr(n);return n&&("html"===Wr(n)||"body"===Wr(n)&&"static"===Hr(n).position)?t:n||function(e){var t=/firefox/i.test(zr());if(/Trident/i.test(zr())&&Fr(e)&&"fixed"===Hr(e).position)return null;var n=$r(e);for(Mr(n)&&(n=n.host);Fr(n)&&["html","body"].indexOf(Wr(n))<0;){var r=Hr(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Yr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Jr(e,t,n){return Lr(e,Ar(t,n))}function Zr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ea(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var ta="top",na="bottom",ra="right",aa="left",oa="auto",ia=[ta,na,ra,aa],la="start",sa="end",ua="clippingParents",ca="viewport",da="popper",fa="reference",pa=ia.reduce((function(e,t){return e.concat([t+"-"+la,t+"-"+sa])}),[]),ha=[].concat(ia,[oa]).reduce((function(e,t){return e.concat([t,t+"-"+la,t+"-"+sa])}),[]),ma=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];const va={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,l=_r(n.placement),s=Yr(l),u=[aa,ra].indexOf(l)>=0?"height":"width";if(o&&i){var c=function(e,t){return Zr("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ea(e,ia))}(a.padding,n),d=Qr(o),f="y"===s?ta:aa,p="y"===s?na:ra,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],v=Xr(o),y=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,g=h/2-m/2,b=c[f],x=y-d[u]-c[p],w=y/2-d[u]/2+g,S=Jr(b,w,x),k=s;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&qr(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ya(e){return e.split("-")[1]}var ga={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ba(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,h=i.y,m=void 0===h?0:h,v="function"===typeof c?c({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),b=aa,x=ta,w=window;if(u){var S=Xr(n),k="clientHeight",j="clientWidth";if(S===Tr(n)&&"static"!==Hr(S=Kr(n)).position&&"absolute"===l&&(k="scrollHeight",j="scrollWidth"),a===ta||(a===aa||a===ra)&&o===sa)x=na,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[k])-r.height,m*=s?1:-1;if(a===aa||(a===ta||a===na)&&o===sa)b=ra,p-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[j])-r.width,p*=s?1:-1}var C,E=Object.assign({position:l},u&&ga),N=!0===c?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:Ir(n*a)/a||0,y:Ir(r*a)/a||0}}({x:p,y:m},Tr(n)):{x:p,y:m};return p=N.x,m=N.y,s?Object.assign({},E,((C={})[x]=g?"0":"",C[b]=y?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",C)):Object.assign({},E,((t={})[x]=g?m+"px":"",t[b]=y?p+"px":"",t.transform="",t))}const xa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,l=n.roundOffsets,s=void 0===l||l,u={placement:_r(t.placement),variation:ya(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ba(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ba(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var wa={passive:!0};const Sa={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,l=void 0===i||i,s=Tr(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",n.update,wa)})),l&&s.addEventListener("resize",n.update,wa),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",n.update,wa)})),l&&s.removeEventListener("resize",n.update,wa)}},data:{}};var ka={left:"right",right:"left",bottom:"top",top:"bottom"};function ja(e){return e.replace(/left|right|bottom|top/g,(function(e){return ka[e]}))}var Ca={start:"end",end:"start"};function Ea(e){return e.replace(/start|end/g,(function(e){return Ca[e]}))}function Na(e){var t=Tr(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Oa(e){return Br(Kr(e)).left+Na(e).scrollLeft}function Pa(e){var t=Hr(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Ra(e){return["html","body","#document"].indexOf(Wr(e))>=0?e.ownerDocument.body:Fr(e)&&Pa(e)?e:Ra($r(e))}function _a(e,t){var n;void 0===t&&(t=[]);var r=Ra(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=Tr(r),i=a?[o].concat(o.visualViewport||[],Pa(r)?r:[]):r,l=t.concat(i);return a?l:l.concat(_a($r(i)))}function Ta(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Da(e,t,n){return t===ca?Ta(function(e,t){var n=Tr(e),r=Kr(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,l=0,s=0;if(a){o=a.width,i=a.height;var u=Ur();(u||!u&&"fixed"===t)&&(l=a.offsetLeft,s=a.offsetTop)}return{width:o,height:i,x:l+Oa(e),y:s}}(e,n)):Dr(t)?function(e,t){var n=Br(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Ta(function(e){var t,n=Kr(e),r=Na(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=Lr(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Lr(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+Oa(e),s=-r.scrollTop;return"rtl"===Hr(a||n).direction&&(l+=Lr(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:l,y:s}}(Kr(e)))}function Fa(e,t,n,r){var a="clippingParents"===t?function(e){var t=_a($r(e)),n=["absolute","fixed"].indexOf(Hr(e).position)>=0&&Fr(e)?Xr(e):e;return Dr(n)?t.filter((function(e){return Dr(e)&&qr(e,n)&&"body"!==Wr(e)})):[]}(e):[].concat(t),o=[].concat(a,[n]),i=o[0],l=o.reduce((function(t,n){var a=Da(e,n,r);return t.top=Lr(a.top,t.top),t.right=Ar(a.right,t.right),t.bottom=Ar(a.bottom,t.bottom),t.left=Lr(a.left,t.left),t}),Da(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ma(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?_r(a):null,i=a?ya(a):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(o){case ta:t={x:l,y:n.y-r.height};break;case na:t={x:l,y:n.y+n.height};break;case ra:t={x:n.x+n.width,y:s};break;case aa:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=o?Yr(o):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case la:t[u]=t[u]-(n[c]/2-r[c]/2);break;case sa:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function La(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,o=n.strategy,i=void 0===o?e.strategy:o,l=n.boundary,s=void 0===l?ua:l,u=n.rootBoundary,c=void 0===u?ca:u,d=n.elementContext,f=void 0===d?da:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,v=void 0===m?0:m,y=Zr("number"!==typeof v?v:ea(v,ia)),g=f===da?fa:da,b=e.rects.popper,x=e.elements[h?g:f],w=Fa(Dr(x)?x:x.contextElement||Kr(e.elements.popper),s,c,i),S=Br(e.elements.reference),k=Ma({reference:S,element:b,strategy:"absolute",placement:a}),j=Ta(Object.assign({},b,k)),C=f===da?j:S,E={top:w.top-C.top+y.top,bottom:C.bottom-w.bottom+y.bottom,left:w.left-C.left+y.left,right:C.right-w.right+y.right},N=e.modifiersData.offset;if(f===da&&N){var O=N[a];Object.keys(E).forEach((function(e){var t=[ra,na].indexOf(e)>=0?1:-1,n=[ta,na].indexOf(e)>=0?"y":"x";E[e]+=O[n]*t}))}return E}const Aa={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=void 0===a||a,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,y=_r(v),g=s||(y===v||!h?[ja(v)]:function(e){if(_r(e)===oa)return[];var t=ja(e);return[Ea(e),t,Ea(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat(_r(n)===oa?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?ha:s,c=ya(r),d=c?l?pa:pa.filter((function(e){return ya(e)===c})):ia,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=La(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[_r(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,j=b[0],C=0;C<b.length;C++){var E=b[C],N=_r(E),O=ya(E)===la,P=[ta,na].indexOf(N)>=0,R=P?"width":"height",_=La(t,{placement:E,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),T=P?O?ra:aa:O?na:ta;x[R]>w[R]&&(T=ja(T));var D=ja(T),F=[];if(o&&F.push(_[N]<=0),l&&F.push(_[T]<=0,_[D]<=0),F.every((function(e){return e}))){j=E,k=!1;break}S.set(E,F)}if(k)for(var M=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},L=h?3:1;L>0;L--){if("break"===M(L))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ia(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function za(e){return[ta,ra,na,aa].some((function(t){return e[t]>=0}))}const Ua={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=ha.reduce((function(e,n){return e[n]=function(e,t,n){var r=_r(e),a=[aa,ta].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],l=o[1];return i=i||0,l=(l||0)*a,[aa,ra].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,o),e}),{}),l=i[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};const Ba={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=void 0===a||a,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=La(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),y=_r(t.placement),g=ya(t.placement),b=!g,x=Yr(y),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,j=t.rects.popper,C="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,E="number"===typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(o){var P,R="y"===x?ta:aa,_="y"===x?na:ra,T="y"===x?"height":"width",D=S[x],F=D+v[R],M=D-v[_],L=p?-j[T]/2:0,A=g===la?k[T]:j[T],I=g===la?-j[T]:-k[T],z=t.elements.arrow,U=p&&z?Qr(z):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=B[R],q=B[_],W=Jr(0,k[T],U[T]),H=b?k[T]/2-L-W-Q-E.mainAxis:A-W-Q-E.mainAxis,V=b?-k[T]/2+L+W+q+E.mainAxis:I+W+q+E.mainAxis,K=t.elements.arrow&&Xr(t.elements.arrow),$=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,G=null!=(P=null==N?void 0:N[x])?P:0,X=D+V-G,Y=Jr(p?Ar(F,D+H-G-$):F,D,p?Lr(M,X):M);S[x]=Y,O[x]=Y-D}if(l){var J,Z="x"===x?ta:aa,ee="x"===x?na:ra,te=S[w],ne="y"===w?"height":"width",re=te+v[Z],ae=te-v[ee],oe=-1!==[ta,aa].indexOf(y),ie=null!=(J=null==N?void 0:N[w])?J:0,le=oe?re:te-k[ne]-j[ne]-ie+E.altAxis,se=oe?te+k[ne]+j[ne]-ie-E.altAxis:ae,ue=p&&oe?function(e,t,n){var r=Jr(e,t,n);return r>n?n:r}(le,te,se):Jr(p?le:re,te,p?se:ae);S[w]=ue,O[w]=ue-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]};function Qa(e,t,n){void 0===n&&(n=!1);var r=Fr(t),a=Fr(t)&&function(e){var t=e.getBoundingClientRect(),n=Ir(t.width)/e.offsetWidth||1,r=Ir(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=Kr(t),i=Br(e,a,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Wr(t)||Pa(o))&&(l=function(e){return e!==Tr(e)&&Fr(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Na(e);var t}(t)),Fr(t)?((s=Br(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Oa(o))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function qa(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}function Wa(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Ha={placement:"bottom",modifiers:[],strategy:"absolute"};function Va(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function Ka(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,a=t.defaultOptions,o=void 0===a?Ha:a;return function(e,t,n){void 0===n&&(n=o);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ha,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],l=!1,s={state:a,setOptions:function(n){var l="function"===typeof n?n(a.options):n;u(),a.options=Object.assign({},o,a.options,l),a.scrollParents={reference:Dr(e)?_a(e):e.contextElement?_a(e.contextElement):[],popper:_a(t)};var c=function(e){var t=qa(e);return ma.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,a.options.modifiers)));return a.orderedModifiers=c.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"===typeof o){var l=o({state:a,name:t,instance:s,options:r}),u=function(){};i.push(l||u)}})),s.update()},forceUpdate:function(){if(!l){var e=a.elements,t=e.reference,n=e.popper;if(Va(t,n)){a.rects={reference:Qa(t,Xr(n),"fixed"===a.options.strategy),popper:Qr(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,u=o.options,c=void 0===u?{}:u,d=o.name;"function"===typeof i&&(a=i({state:a,options:c,name:d,instance:s})||a)}else a.reset=!1,r=-1}}},update:Wa((function(){return new Promise((function(e){s.forceUpdate(),e(a)}))})),destroy:function(){u(),l=!0}};if(!Va(e,t))return s;function u(){i.forEach((function(e){return e()})),i=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}const $a=Ka({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=La(t,{elementContext:"reference"}),l=La(t,{altBoundary:!0}),s=Ia(i,r),u=Ia(l,a,o),c=za(s),d=za(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ma({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},xa,Sa,Ua,Aa,Ba,va]}),Ga=["enabled","placement","strategy","modifiers"];const Xa={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Ya={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:e=>{let{state:t}=e;return()=>{const{reference:e,popper:n}=t.elements;if("removeAttribute"in e){const t=(e.getAttribute("aria-describedby")||"").split(",").filter((e=>e.trim()!==n.id));t.length?e.setAttribute("aria-describedby",t.join(",")):e.removeAttribute("aria-describedby")}}},fn:e=>{let{state:t}=e;var n;const{popper:r,reference:a}=t.elements,o=null==(n=r.getAttribute("role"))?void 0:n.toLowerCase();if(r.id&&"tooltip"===o&&"setAttribute"in a){const e=a.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(r.id))return;a.setAttribute("aria-describedby",e?"".concat(e,",").concat(r.id):r.id)}}},Ja=[];const Za=function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{enabled:a=!0,placement:o="bottom",strategy:i="absolute",modifiers:l=Ja}=r,s=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(r,Ga);const u=(0,t.useRef)(l),c=(0,t.useRef)(),d=(0,t.useCallback)((()=>{var e;null==(e=c.current)||e.update()}),[]),f=(0,t.useCallback)((()=>{var e;null==(e=c.current)||e.forceUpdate()}),[]),[p,h]=Rr((0,t.useState)({placement:o,update:d,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),m=(0,t.useMemo)((()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:e=>{let{state:t}=e;const n={},r={};Object.keys(t.elements).forEach((e=>{n[e]=t.styles[e],r[e]=t.attributes[e]})),h({state:t,styles:n,attributes:r,update:d,forceUpdate:f,placement:t.placement})}})),[d,f,h]),v=(0,t.useMemo)((()=>(Pr(u.current,l)||(u.current=l),u.current)),[l]);return(0,t.useEffect)((()=>{c.current&&a&&c.current.setOptions({placement:o,strategy:i,modifiers:[...v,m,Xa]})}),[i,o,m,a,v]),(0,t.useEffect)((()=>{if(a&&null!=e&&null!=n)return c.current=$a(e,n,Object.assign({},s,{placement:o,strategy:i,modifiers:[...v,Ya,m]})),()=>{null!=c.current&&(c.current.destroy(),c.current=void 0,h((e=>Object.assign({},e,{attributes:{},styles:{popper:{}}}))))}}),[a,e,n]),p};var eo=n(440),to=n.n(eo);const no=()=>{};const ro=e=>e&&("current"in e?e.current:e),ao={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};const oo=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:no,{disabled:r,clickTrigger:a="click"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=(0,t.useRef)(!1),i=(0,t.useRef)(!1),l=(0,t.useCallback)((t=>{const n=ro(e);var r;to()(!!n,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),o.current=!n||!!((r=t).metaKey||r.altKey||r.ctrlKey||r.shiftKey)||!function(e){return 0===e.button}(t)||!!jn(n,t.target)||i.current,i.current=!1}),[e]),s=Xe((t=>{const n=ro(e);n&&jn(n,t.target)&&(i.current=!0)})),u=Xe((e=>{o.current||n(e)}));(0,t.useEffect)((()=>{var t,n;if(r||null==e)return;const o=Rt(ro(e)),i=o.defaultView||window;let c=null!=(t=i.event)?t:null==(n=i.parent)?void 0:n.event,d=null;ao[a]&&(d=nn(o,ao[a],s,!0));const f=nn(o,a,l,!0),p=nn(o,a,(e=>{e!==c?u(e):c=void 0}));let h=[];return"ontouchstart"in o.documentElement&&(h=[].slice.call(o.body.children).map((e=>nn(e,"mousemove",no)))),()=>{null==d||d(),f(),p(),h.forEach((e=>e()))}}),[e,r,a,l,s,u])};function io(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e)?e:Object.keys(e).map((t=>(e[t].name=t,e[t])))}function lo(e){let{enabled:t,enableEvents:n,placement:r,flip:a,offset:o,fixed:i,containerPadding:l,arrowElement:s,popperConfig:u={}}=e;var c,d,f,p,h;const m=function(e){const t={};return Array.isArray(e)?(null==e||e.forEach((e=>{t[e.name]=e})),t):e||t}(u.modifiers);return Object.assign({},u,{placement:r,enabled:t,strategy:i?"fixed":u.strategy,modifiers:io(Object.assign({},m,{eventListeners:{enabled:n,options:null==(c=m.eventListeners)?void 0:c.options},preventOverflow:Object.assign({},m.preventOverflow,{options:l?Object.assign({padding:l},null==(d=m.preventOverflow)?void 0:d.options):null==(f=m.preventOverflow)?void 0:f.options}),offset:{options:Object.assign({offset:o},null==(p=m.offset)?void 0:p.options)},arrow:Object.assign({},m.arrow,{enabled:!!s,options:Object.assign({},null==(h=m.arrow)?void 0:h.options,{element:s})}),flip:Object.assign({enabled:!!a},m.flip)}))})}const so=["children"];const uo=()=>{};function co(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,t.useContext)(Er),[r,a]=vt(),o=(0,t.useRef)(!1),{flip:i,offset:l,rootCloseEvent:s,fixed:u=!1,placement:c,popperConfig:d={},enableEventListeners:f=!0,usePopper:p=!!n}=e,h=null==(null==n?void 0:n.show)?!!e.show:n.show;h&&!o.current&&(o.current=!0);const{placement:m,setMenu:v,menuElement:y,toggleElement:g}=n||{},b=Za(g,y,lo({placement:c||m||"bottom-start",enabled:p,enableEvents:null==f?h:f,offset:l,flip:i,fixed:u,arrowElement:r,popperConfig:d})),x=Object.assign({ref:v||uo,"aria-labelledby":null==g?void 0:g.id},b.attributes.popper,{style:b.styles.popper}),w={show:h,placement:m,hasShown:o.current,toggle:null==n?void 0:n.toggle,popper:p?b:null,arrowProps:p?Object.assign({ref:a},b.attributes.arrow,{style:b.styles.arrow}):{}};return oo(y,(e=>{null==n||n.toggle(!1,e)}),{clickTrigger:s,disabled:!h}),[x,w]}function fo(e){let{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,so);const[r,a]=co(n);return(0,ye.jsx)(ye.Fragment,{children:t(r,a)})}fo.displayName="DropdownMenu",fo.defaultProps={usePopper:!0};const po=fo,ho={prefix:String(Math.round(1e10*Math.random())),current:0},mo=t.createContext(ho),vo=t.createContext(!1);let yo=Boolean("undefined"!==typeof window&&window.document&&window.document.createElement),go=new WeakMap;function bo(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=(0,t.useContext)(mo),r=(0,t.useRef)(null);if(null===r.current&&!e){var a,o;let e=null===(o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===o||null===(a=o.ReactCurrentOwner)||void 0===a?void 0:a.current;if(e){let t=go.get(e);null==t?go.set(e,{id:n.current,state:e.memoizedState}):e.memoizedState!==t.state&&(n.current=t.id,go.delete(e))}r.current=++n.current}return r.current}const xo="function"===typeof t.useId?function(e){let n=t.useId(),[r]=(0,t.useState)("function"===typeof t.useSyncExternalStore?t.useSyncExternalStore(ko,wo,So):(0,t.useContext)(vo)),a=r?"react-aria":"react-aria".concat(ho.prefix);return e||"".concat(a,"-").concat(n)}:function(e){let n=(0,t.useContext)(mo);n!==ho||yo||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=bo(!!e),a="react-aria".concat(n.prefix);return e||"".concat(a,"-").concat(r)};function wo(){return!1}function So(){return!0}function ko(e){return()=>{}}const jo=e=>{var t;return"menu"===(null==(t=e.getAttribute("role"))?void 0:t.toLowerCase())},Co=()=>{};function Eo(){const e=xo(),{show:n=!1,toggle:r=Co,setToggle:a,menuElement:o}=(0,t.useContext)(Er)||{},i=(0,t.useCallback)((e=>{r(!n,e)}),[n,r]),l={id:e,ref:a||Co,onClick:i,"aria-expanded":!!n};return o&&jo(o)&&(l["aria-haspopup"]=!0),[l,{show:n,toggle:r}]}function No(e){let{children:t}=e;const[n,r]=Eo();return(0,ye.jsx)(ye.Fragment,{children:t(n,r)})}No.displayName="DropdownToggle";const Oo=No,Po=["eventKey","disabled","onClick","active","as"];function Ro(e){let{key:n,href:r,active:a,disabled:o,onClick:i}=e;const l=(0,t.useContext)(He),s=(0,t.useContext)(qe),{activeKey:u}=s||{},c=We(n,r),d=null==a&&null!=n?We(u)===c:a;return[{onClick:Xe((e=>{o||(null==i||i(e),l&&!e.isPropagationStopped()&&l(c,e))})),"aria-disabled":o||void 0,"aria-selected":d,[$e("dropdown-item")]:""},{isActive:d}]}const _o=t.forwardRef(((e,t)=>{let{eventKey:n,disabled:r,onClick:a,active:o,as:i=et}=e,l=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,Po);const[s]=Ro({key:n,href:l.href,disabled:r,onClick:a,active:o});return(0,ye.jsx)(i,Object.assign({},l,{ref:t},s))}));_o.displayName="DropdownItem";const To=_o;function Do(){const e=ze(),n=(0,t.useRef)(null),r=(0,t.useCallback)((t=>{n.current=t,e()}),[e]);return[n,r]}function Fo(e){let{defaultShow:n,show:r,onSelect:a,onToggle:o,itemSelector:i="* [".concat($e("dropdown-item"),"]"),focusFirstItemOnShow:l,placement:s="bottom-start",children:u}=e;const c=Pn(),[d,f]=Cr(r,n,o),[p,h]=Do(),m=p.current,[v,y]=Do(),g=v.current,b=gt(d),x=(0,t.useRef)(null),w=(0,t.useRef)(!1),S=(0,t.useContext)(He),k=(0,t.useCallback)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null==t?void 0:t.type;f(e,{originalEvent:t,source:n})}),[f]),j=Xe(((e,t)=>{null==a||a(e,t),k(!1,t,"select"),t.isPropagationStopped()||null==S||S(e,t)})),C=(0,t.useMemo)((()=>({toggle:k,placement:s,show:d,menuElement:m,toggleElement:g,setMenu:h,setToggle:y})),[k,s,d,m,g,h,y]);m&&b&&!d&&(w.current=m.contains(m.ownerDocument.activeElement));const E=Xe((()=>{g&&g.focus&&g.focus()})),N=Xe((()=>{const e=x.current;let t=l;if(null==t&&(t=!(!p.current||!jo(p.current))&&"keyboard"),!1===t||"keyboard"===t&&!/^key.+$/.test(e))return;const n=Ie(p.current,i)[0];n&&n.focus&&n.focus()}));(0,t.useEffect)((()=>{d?N():w.current&&(w.current=!1,E())}),[d,w,E,N]),(0,t.useEffect)((()=>{x.current=null}));const O=(e,t)=>{if(!p.current)return null;const n=Ie(p.current,i);let r=n.indexOf(e)+t;return r=Math.max(0,Math.min(r,n.length)),n[r]};return function(e,n,r){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=Xe(r);(0,t.useEffect)((()=>{const t="function"===typeof e?e():e;return t.addEventListener(n,o,a),()=>t.removeEventListener(n,o,a)}),[e])}((0,t.useCallback)((()=>c.document),[c]),"keydown",(e=>{var t,n;const{key:r}=e,a=e.target,o=null==(t=p.current)?void 0:t.contains(a),i=null==(n=v.current)?void 0:n.contains(a);if(/input|textarea/i.test(a.tagName)&&(" "===r||"Escape"!==r&&o||"Escape"===r&&"search"===a.type))return;if(!o&&!i)return;if("Tab"===r&&(!p.current||!d))return;x.current=e.type;const l={originalEvent:e,source:e.type};switch(r){case"ArrowUp":{const t=O(a,-1);return t&&t.focus&&t.focus(),void e.preventDefault()}case"ArrowDown":if(e.preventDefault(),d){const e=O(a,1);e&&e.focus&&e.focus()}else f(!0,l);return;case"Tab":en(a.ownerDocument,"keyup",(e=>{var t;("Tab"!==e.key||e.target)&&null!=(t=p.current)&&t.contains(e.target)||f(!1,l)}),{once:!0});break;case"Escape":"Escape"===r&&(e.preventDefault(),e.stopPropagation()),f(!1,l)}})),(0,ye.jsx)(He.Provider,{value:j,children:(0,ye.jsx)(Er.Provider,{value:C,children:u})})}Fo.displayName="Dropdown",Fo.Menu=po,Fo.Toggle=Oo,Fo.Item=To;const Mo=Fo,Lo=t.createContext({});Lo.displayName="DropdownContext";const Ao=Lo,Io=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="hr",role:o="separator",...i}=e;return r=ke(r,"dropdown-divider"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),role:o,...i})}));Io.displayName="DropdownDivider";const zo=Io,Uo=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",role:o="heading",...i}=e;return r=ke(r,"dropdown-header"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),role:o,...i})}));Uo.displayName="DropdownHeader";const Bo=Uo,Qo=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,eventKey:a,disabled:o=!1,onClick:i,active:l,as:s=kt,...u}=e;const c=ke(n,"dropdown-item"),[d,f]=Ro({key:a,href:u.href,disabled:o,onClick:i,active:l});return(0,ye.jsx)(s,{...u,...d,ref:t,className:ve()(r,c,f.isActive&&"active",o&&"disabled")})}));Qo.displayName="DropdownItem";const qo=Qo,Wo=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="span",...o}=e;return r=ke(r,"dropdown-item-text"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));Wo.displayName="DropdownItemText";const Ho=Wo,Vo=t.createContext(null);Vo.displayName="InputGroupContext";const Ko=Vo;function $o(e,t){return e}function Go(e,t,n){let r=e?n?"bottom-start":"bottom-end":n?"bottom-end":"bottom-start";return"up"===t?r=e?n?"top-start":"top-end":n?"top-end":"top-start":"end"===t?r=e?n?"left-end":"right-end":n?"left-start":"right-start":"start"===t?r=e?n?"right-end":"left-end":n?"right-start":"left-start":"down-centered"===t?r="bottom":"up-centered"===t&&(r="top"),r}const Xo=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:a,align:o,rootCloseEvent:i,flip:l=!0,show:s,renderOnMount:u,as:c="div",popperConfig:d,variant:f,...p}=e,h=!1;const m=(0,t.useContext)(dt),v=ke(r,"dropdown-menu"),{align:y,drop:g,isRTL:b}=(0,t.useContext)(Ao);o=o||y;const x=(0,t.useContext)(Ko),w=[];if(o)if("object"===typeof o){const e=Object.keys(o);if(e.length){const t=e[0],n=o[t];h="start"===n,w.push("".concat(v,"-").concat(t,"-").concat(n))}}else"end"===o&&(h=!0);const S=Go(h,g,b),[k,{hasShown:j,popper:C,show:E,toggle:N}]=co({flip:l,rootCloseEvent:i,show:s,usePopper:!m&&0===w.length,offset:[0,2],popperConfig:d,placement:S});if(k.ref=Be($o(n),k.ref),xt((()=>{E&&(null==C||C.update())}),[E]),!j&&!u&&!x)return null;"string"!==typeof c&&(k.show=E,k.close=()=>null==N?void 0:N(!1),k.align=o);let O=p.style;return null!=C&&C.placement&&(O={...p.style,...k.style},p["x-placement"]=C.placement),(0,ye.jsx)(c,{...p,...k,style:O,...(w.length||m)&&{"data-bs-popper":"static"},className:ve()(a,v,E&&"show",h&&"".concat(v,"-end"),f&&"".concat(v,"-").concat(f),...w)})}));Xo.displayName="DropdownMenu";const Yo=Xo,Jo=t.forwardRef(((e,t)=>{let{as:n,bsPrefix:r,variant:a="primary",size:o,active:i=!1,disabled:l=!1,className:s,...u}=e;const c=ke(r,"btn"),[d,{tagName:f}]=Je({tagName:n,disabled:l,...u}),p=f;return(0,ye.jsx)(p,{...d,...u,ref:t,disabled:l,className:ve()(s,c,i&&"active",a&&"".concat(c,"-").concat(a),o&&"".concat(c,"-").concat(o),u.href&&l&&"disabled")})}));Jo.displayName="Button";const Zo=Jo,ei=t.forwardRef(((e,n)=>{let{bsPrefix:r,split:a,className:o,childBsPrefix:i,as:l=Zo,...s}=e;const u=ke(r,"dropdown-toggle"),c=(0,t.useContext)(Er);void 0!==i&&(s.bsPrefix=i);const[d]=Eo();return d.ref=Be(d.ref,$o(n)),(0,ye.jsx)(l,{className:ve()(o,u,a&&"".concat(u,"-split"),(null==c?void 0:c.show)&&"show"),...d,...s})}));ei.displayName="DropdownToggle";const ti=ei,ni=t.forwardRef(((e,n)=>{const{bsPrefix:r,drop:a="down",show:o,className:i,align:l="start",onSelect:s,onToggle:u,focusFirstItemOnShow:c,as:d="div",navbar:f,autoClose:p=!0,...h}=De(e,{show:"onToggle"}),m=(0,t.useContext)(Ko),v=ke(r,"dropdown"),y=Ee(),g=Xe(((e,t)=>{var n,r;var a;(null==(n=t.originalEvent)||null==(r=n.target)?void 0:r.classList.contains("dropdown-toggle"))&&"mousedown"===t.source||(t.originalEvent.currentTarget!==document||"keydown"===t.source&&"Escape"!==t.originalEvent.key||(t.source="rootClose"),a=t.source,(!1===p?"click"===a:"inside"===p?"rootClose"!==a:"outside"!==p||"select"!==a)&&(null==u||u(e,t)))})),b=Go("end"===l,a,y),x=(0,t.useMemo)((()=>({align:l,drop:a,isRTL:y})),[l,a,y]),w={down:v,"down-centered":"".concat(v,"-center"),up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return(0,ye.jsx)(Ao.Provider,{value:x,children:(0,ye.jsx)(Mo,{placement:b,show:o,onSelect:s,onToggle:g,focusFirstItemOnShow:c,itemSelector:".".concat(v,"-item:not(.disabled):not(:disabled)"),children:m?h.children:(0,ye.jsx)(d,{...h,ref:n,className:ve()(i,o&&"show",w[a])})})})}));ni.displayName="Dropdown";const ri=Object.assign(ni,{Toggle:ti,Menu:Yo,Item:qo,ItemText:Ho,Divider:zo,Header:Bo}),ai=t.forwardRef(((e,t)=>{let{id:n,title:r,children:a,bsPrefix:o,className:i,rootCloseEvent:l,menuRole:s,disabled:u,active:c,renderMenuOnMount:d,menuVariant:f,...p}=e;const h=ke(void 0,"nav-item");return(0,ye.jsxs)(ri,{ref:t,...p,className:ve()(i,h),children:[(0,ye.jsx)(ri.Toggle,{id:n,eventKey:null,active:c,disabled:u,childBsPrefix:o,as:Ct,children:r}),(0,ye.jsx)(ri.Menu,{role:s,renderOnMount:d,rootCloseEvent:l,variant:f,children:a})]})}));ai.displayName="NavDropdown";const oi=Object.assign(ai,{Item:ri.Item,ItemText:ri.ItemText,Divider:ri.Divider,Header:ri.Header});function ii(){return ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ii.apply(this,arguments)}function li(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const si=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(Td){}new Map;const ui=r.startTransition;zt.flushSync,r.useId;function ci(e){let{basename:n,children:r,future:a,window:o}=e,i=t.useRef();null==i.current&&(i.current=function(e){return void 0===e&&(e={}),p((function(e,t){let{pathname:n,search:r,hash:a}=e.location;return c("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:d(t)}),null,e)}({window:o,v5Compat:!0}));let l=i.current,[s,u]=t.useState({action:l.action,location:l.location}),{v7_startTransition:f}=a||{},h=t.useCallback((e=>{f&&ui?ui((()=>u(e))):u(e)}),[u,f]);return t.useLayoutEffect((()=>l.listen(h)),[l,h]),t.createElement(fe,{basename:n,children:r,location:s.location,navigationType:s.action,navigator:l,future:a})}const di="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,fi=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,pi=t.forwardRef((function(e,n){let r,{onClick:a,relative:o,reloadDocument:i,replace:s,state:u,target:c,to:f,preventScrollReset:p,unstable_viewTransition:h}=e,m=li(e,si),{basename:v}=t.useContext(W),y=!1;if("string"===typeof f&&fi.test(f)&&(r=f,di))try{let e=new URL(window.location.href),t=f.startsWith("//")?new URL(e.protocol+f):new URL(f),n=P(t.pathname,v);t.origin===e.origin&&null!=n?f=n+t.search+t.hash:y=!0}catch(Td){}let g=function(e,n){let{relative:r}=void 0===n?{}:n;$()||l(!1);let{basename:a,navigator:o}=t.useContext(W),{hash:i,pathname:s,search:u}=J(e,{relative:r}),c=s;return"/"!==a&&(c="/"===s?a:F([a,s])),o.createHref({pathname:c,search:u,hash:i})}(f,{relative:o}),b=function(e,n){let{target:r,replace:a,state:o,preventScrollReset:i,relative:l,unstable_viewTransition:s}=void 0===n?{}:n,u=Y(),c=G(),f=J(e,{relative:l});return t.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();let n=void 0!==a?a:d(c)===d(f);u(e,{replace:n,state:o,preventScrollReset:i,relative:l,unstable_viewTransition:s})}}),[c,u,f,a,o,r,e,i,l,s])}(f,{replace:s,state:u,target:c,preventScrollReset:p,relative:o,unstable_viewTransition:h});return t.createElement("a",ii({},m,{href:r||g,onClick:y||i?a:function(e){a&&a(e),e.defaultPrevented||b(e)},ref:n,target:c}))}));var hi,mi;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(hi||(hi={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(mi||(mi={}));class vi extends t.Component{render(){return(0,ye.jsx)(ye.Fragment,{children:(0,ye.jsxs)(jr,{className:"navmargin",bg:"dark","data-bs-theme":"dark",children:[(0,ye.jsx)(jr.Brand,{href:"/",children:"\u0423\u0447\u0435\u0442 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438"}),(0,ye.jsx)(jr.Toggle,{"aria-controls":"basic-navbar-nav"}),(0,ye.jsx)(jr.Collapse,{id:"basic-navbar-nav",children:(0,ye.jsxs)(Nt,{className:"me-auto",children:[(0,ye.jsx)(Nt.Link,{as:pi,to:"/",children:"\u041d\u0430\u0447\u0430\u043b\u043e"}),(0,ye.jsx)(Nt.Link,{href:"#link",children:"Link"}),(0,ye.jsxs)(oi,{title:"\u0421\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438",id:"employee-nav-dropdown",children:[(0,ye.jsx)(oi.Item,{as:pi,to:"/listEmployee",children:"\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/addEmployee",children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/listDepartament",children:"\u0421\u043f\u0438\u0441\u043e\u043a \u043e\u0442\u0434\u0435\u043b\u043e\u0432"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/addDepartament",children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442 \u043e\u0442\u0434\u0435\u043b"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/listJobs",children:"\u0421\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u0435\u0439"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/addJob",children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442 \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/listNotWorks",children:"\u041d\u0435\u044f\u0432\u043a\u0438"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/listShedule",children:"\u0413\u0440\u0430\u0444\u0438\u043a\u0438"}),(0,ye.jsx)(oi.Item,{href:"#action/3.3",children:"Something"}),(0,ye.jsx)(oi.Divider,{}),(0,ye.jsx)(oi.Item,{href:"#action/3.4",children:"Separated link"})]}),(0,ye.jsxs)(oi,{title:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438",id:"upload-nav-dropdown",children:[(0,ye.jsx)(oi.Item,{as:pi,to:"/uploadEmployee",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/uploadSKUD",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0421\u041a\u0423\u0414"}),(0,ye.jsx)(oi.Item,{as:pi,to:"/uploadAbsentees",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445"}),(0,ye.jsx)(oi.Divider,{}),(0,ye.jsx)(oi.Item,{href:"#action/3.4",children:"Separated link"})]})]})})]})})}}const yi=vi;class gi extends t.Component{render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)("h1",{children:" \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430!!"})]})}}const bi=gi,xi=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,as:a="div",...o}=e;const i=ke(n,"row"),l=je(),s=Ce(),u="".concat(i,"-cols"),c=[];return l.forEach((e=>{const t=o[e];let n;delete o[e],null!=t&&"object"===typeof t?({cols:n}=t):n=t;const r=e!==s?"-".concat(e):"";null!=n&&c.push("".concat(u).concat(r,"-").concat(n))})),(0,ye.jsx)(a,{ref:t,...o,className:ve()(r,i,...c)})}));xi.displayName="Row";const wi=xi,Si=t.createContext({}),ki=t.forwardRef(((e,n)=>{let{id:r,bsPrefix:a,className:o,type:i="checkbox",isValid:l=!1,isInvalid:s=!1,as:u="input",...c}=e;const{controlId:d}=(0,t.useContext)(Si);return a=ke(a,"form-check-input"),(0,ye.jsx)(u,{...c,ref:n,type:i,id:r||d,className:ve()(o,a,l&&"is-valid",s&&"is-invalid")})}));ki.displayName="FormCheckInput";const ji=ki,Ci=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="span",...o}=e;return r=ke(r,"input-group-text"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));Ci.displayName="InputGroupText";const Ei=Ci,Ni=t.forwardRef(((e,n)=>{let{bsPrefix:r,size:a,hasValidation:o,className:i,as:l="div",...s}=e;r=ke(r,"input-group");const u=(0,t.useMemo)((()=>({})),[]);return(0,ye.jsx)(Ko.Provider,{value:u,children:(0,ye.jsx)(l,{ref:n,...s,className:ve()(i,r,a&&"".concat(r,"-").concat(a),o&&"has-validation")})})}));Ni.displayName="InputGroup";const Oi=Object.assign(Ni,{Text:Ei,Radio:e=>(0,ye.jsx)(Ei,{children:(0,ye.jsx)(ji,{type:"radio",...e})}),Checkbox:e=>(0,ye.jsx)(Ei,{children:(0,ye.jsx)(ji,{type:"checkbox",...e})})}),Pi={type:Gn().string,tooltip:Gn().bool,as:Gn().elementType},Ri=t.forwardRef(((e,t)=>{let{as:n="div",className:r,type:a="valid",tooltip:o=!1,...i}=e;return(0,ye.jsx)(n,{...i,ref:t,className:ve()(r,"".concat(a,"-").concat(o?"tooltip":"feedback"))})}));Ri.displayName="Feedback",Ri.propTypes=Pi;const _i=Ri,Ti=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:a,htmlFor:o,...i}=e;const{controlId:l}=(0,t.useContext)(Si);return r=ke(r,"form-check-label"),(0,ye.jsx)("label",{...i,ref:n,htmlFor:o||l,className:ve()(a,r)})}));Ti.displayName="FormCheckLabel";const Di=Ti;const Fi=t.forwardRef(((e,n)=>{let{id:r,bsPrefix:a,bsSwitchPrefix:o,inline:i=!1,reverse:l=!1,disabled:s=!1,isValid:u=!1,isInvalid:c=!1,feedbackTooltip:d=!1,feedback:f,feedbackType:p,className:h,style:m,title:v="",type:y="checkbox",label:g,children:b,as:x="input",...w}=e;a=ke(a,"form-check"),o=ke(o,"form-switch");const{controlId:S}=(0,t.useContext)(Si),k=(0,t.useMemo)((()=>({controlId:r||S})),[S,r]),j=!b&&null!=g&&!1!==g||function(e,n){return t.Children.toArray(e).some((e=>t.isValidElement(e)&&e.type===n))}(b,Di),C=(0,ye.jsx)(ji,{...w,type:"switch"===y?"checkbox":y,ref:n,isValid:u,isInvalid:c,disabled:s,as:x});return(0,ye.jsx)(Si.Provider,{value:k,children:(0,ye.jsx)("div",{style:m,className:ve()(h,j&&a,i&&"".concat(a,"-inline"),l&&"".concat(a,"-reverse"),"switch"===y&&o),children:b||(0,ye.jsxs)(ye.Fragment,{children:[C,j&&(0,ye.jsx)(Di,{title:v,children:g}),f&&(0,ye.jsx)(_i,{type:p,tooltip:d,children:f})]})})})}));Fi.displayName="FormCheck";const Mi=Object.assign(Fi,{Input:ji,Label:Di}),Li=t.forwardRef(((e,n)=>{let{bsPrefix:r,type:a,size:o,htmlSize:i,id:l,className:s,isValid:u=!1,isInvalid:c=!1,plaintext:d,readOnly:f,as:p="input",...h}=e;const{controlId:m}=(0,t.useContext)(Si);return r=ke(r,"form-control"),(0,ye.jsx)(p,{...h,type:a,size:i,ref:n,readOnly:f,id:l||m,className:ve()(s,d?"".concat(r,"-plaintext"):r,o&&"".concat(r,"-").concat(o),"color"===a&&"".concat(r,"-color"),u&&"is-valid",c&&"is-invalid")})}));Li.displayName="FormControl";const Ai=Object.assign(Li,{Feedback:_i}),Ii=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=ke(r,"form-floating"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));Ii.displayName="FormFloating";const zi=Ii,Ui=t.forwardRef(((e,n)=>{let{controlId:r,as:a="div",...o}=e;const i=(0,t.useMemo)((()=>({controlId:r})),[r]);return(0,ye.jsx)(Si.Provider,{value:i,children:(0,ye.jsx)(a,{...o,ref:n})})}));Ui.displayName="FormGroup";const Bi=Ui;const Qi=t.forwardRef(((e,t)=>{const[{className:n,...r},{as:a="div",bsPrefix:o,spans:i}]=function(e){let{as:t,bsPrefix:n,className:r,...a}=e;n=ke(n,"col");const o=je(),i=Ce(),l=[],s=[];return o.forEach((e=>{const t=a[e];let r,o,u;delete a[e],"object"===typeof t&&null!=t?({span:r,offset:o,order:u}=t):r=t;const c=e!==i?"-".concat(e):"";r&&l.push(!0===r?"".concat(n).concat(c):"".concat(n).concat(c,"-").concat(r)),null!=u&&s.push("order".concat(c,"-").concat(u)),null!=o&&s.push("offset".concat(c,"-").concat(o))})),[{...a,className:ve()(r,...l,...s)},{as:t,bsPrefix:n,spans:l}]}(e);return(0,ye.jsx)(a,{...r,ref:t,className:ve()(n,!i.length&&o)})}));Qi.displayName="Col";const qi=Qi,Wi=t.forwardRef(((e,n)=>{let{as:r="label",bsPrefix:a,column:o=!1,visuallyHidden:i=!1,className:l,htmlFor:s,...u}=e;const{controlId:c}=(0,t.useContext)(Si);a=ke(a,"form-label");let d="col-form-label";"string"===typeof o&&(d="".concat(d," ").concat(d,"-").concat(o));const f=ve()(l,a,i&&"visually-hidden",o&&d);return s=s||c,o?(0,ye.jsx)(qi,{ref:n,as:"label",className:f,htmlFor:s,...u}):(0,ye.jsx)(r,{ref:n,className:f,htmlFor:s,...u})}));Wi.displayName="FormLabel";const Hi=Wi,Vi=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:a,id:o,...i}=e;const{controlId:l}=(0,t.useContext)(Si);return r=ke(r,"form-range"),(0,ye.jsx)("input",{...i,type:"range",ref:n,className:ve()(a,r),id:o||l})}));Vi.displayName="FormRange";const Ki=Vi,$i=t.forwardRef(((e,n)=>{let{bsPrefix:r,size:a,htmlSize:o,className:i,isValid:l=!1,isInvalid:s=!1,id:u,...c}=e;const{controlId:d}=(0,t.useContext)(Si);return r=ke(r,"form-select"),(0,ye.jsx)("select",{...c,size:o,ref:n,className:ve()(i,r,a&&"".concat(r,"-").concat(a),l&&"is-valid",s&&"is-invalid"),id:u||d})}));$i.displayName="FormSelect";const Gi=$i,Xi=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,as:a="small",muted:o,...i}=e;return n=ke(n,"form-text"),(0,ye.jsx)(a,{...i,ref:t,className:ve()(r,n,o&&"text-muted")})}));Xi.displayName="FormText";const Yi=Xi,Ji=t.forwardRef(((e,t)=>(0,ye.jsx)(Mi,{...e,ref:t,type:"switch"})));Ji.displayName="Switch";const Zi=Object.assign(Ji,{Input:Mi.Input,Label:Mi.Label}),el=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,children:a,controlId:o,label:i,...l}=e;return n=ke(n,"form-floating"),(0,ye.jsxs)(Bi,{ref:t,className:ve()(r,n),controlId:o,...l,children:[a,(0,ye.jsx)("label",{htmlFor:o,children:i})]})}));el.displayName="FloatingLabel";const tl=el,nl={_ref:Gn().any,validated:Gn().bool,as:Gn().elementType},rl=t.forwardRef(((e,t)=>{let{className:n,validated:r,as:a="form",...o}=e;return(0,ye.jsx)(a,{...o,ref:t,className:ve()(n,r&&"was-validated")})}));rl.displayName="Form",rl.propTypes=nl;const al=Object.assign(rl,{Group:Bi,Control:Ai,Floating:zi,Check:Mi,Switch:Zi,Label:Hi,Text:Yi,Range:Ki,Select:Gi,FloatingLabel:tl}),ol=t.forwardRef(((e,t)=>{let{bsPrefix:n,size:r,vertical:a=!1,className:o,role:i="group",as:l="div",...s}=e;const u=ke(n,"btn-group");let c=u;return a&&(c="".concat(u,"-vertical")),(0,ye.jsx)(l,{...s,ref:t,role:i,className:ve()(o,c,r&&"".concat(u,"-").concat(r))})}));ol.displayName="ButtonGroup";const il=ol;var ll=n(237),sl=t,ul=Symbol.for("react-redux-context"),cl="undefined"!==typeof globalThis?globalThis:{};function dl(){var e;if(!sl.createContext)return{};const t=null!==(e=cl[ul])&&void 0!==e?e:cl[ul]=new Map;let n=t.get(sl.createContext);return n||(n=sl.createContext(null),t.set(sl.createContext,n)),n}var fl=dl(),pl=()=>{throw new Error("uSES not initialized!")};function hl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fl;return function(){return sl.useContext(e)}}var ml=hl(),vl=pl,yl=(e,t)=>e===t;function gl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fl;const t=e===fl?ml:hl(e),n=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{equalityFn:r=yl,devModeChecks:a={}}="function"===typeof n?{equalityFn:n}:n;const{store:o,subscription:i,getServerState:l,stabilityCheck:s,identityFunctionCheck:u}=t(),c=(sl.useRef(!0),sl.useCallback({[e.name]:t=>e(t)}[e.name],[e,s,a.stabilityCheck])),d=vl(i.addNestedSub,o.getState,l||o.getState,c,r);return sl.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}var bl=gl(),xl=Symbol.for("react.element"),wl=Symbol.for("react.portal"),Sl=Symbol.for("react.fragment"),kl=Symbol.for("react.strict_mode"),jl=Symbol.for("react.profiler"),Cl=Symbol.for("react.provider"),El=Symbol.for("react.context"),Nl=Symbol.for("react.server_context"),Ol=Symbol.for("react.forward_ref"),Pl=Symbol.for("react.suspense"),Rl=Symbol.for("react.suspense_list"),_l=Symbol.for("react.memo"),Tl=Symbol.for("react.lazy"),Dl=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),Ol),Fl=_l;function Ml(e){if("object"===typeof e&&null!==e){const t=e.$$typeof;switch(t){case xl:{const n=e.type;switch(n){case Sl:case jl:case kl:case Pl:case Rl:return n;default:{const e=n&&n.$$typeof;switch(e){case Nl:case El:case Ol:case Tl:case _l:case Cl:return e;default:return t}}}}case wl:return t}}}function Ll(e,t,n,r,a){let o,i,l,s,u,{areStatesEqual:c,areOwnPropsEqual:d,areStatePropsEqual:f}=a,p=!1;function h(a,p){const h=!d(p,i),m=!c(a,o,p,i);return o=a,i=p,h&&m?(l=e(o,i),t.dependsOnOwnProps&&(s=t(r,i)),u=n(l,s,i),u):h?(e.dependsOnOwnProps&&(l=e(o,i)),t.dependsOnOwnProps&&(s=t(r,i)),u=n(l,s,i),u):m?function(){const t=e(o,i),r=!f(t,l);return l=t,r&&(u=n(l,s,i)),u}():u}return function(a,c){return p?h(a,c):(o=a,i=c,l=e(o,i),s=t(r,i),u=n(l,s,i),p=!0,u)}}function Al(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function Il(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function zl(e,t){return function(t,n){let{displayName:r}=n;const a=function(e,t){return a.dependsOnOwnProps?a.mapToProps(e,t):a.mapToProps(e,void 0)};return a.dependsOnOwnProps=!0,a.mapToProps=function(t,n){a.mapToProps=e,a.dependsOnOwnProps=Il(e);let r=a(t,n);return"function"===typeof r&&(a.mapToProps=r,a.dependsOnOwnProps=Il(r),r=a(t,n)),r},a}}function Ul(e,t){return(n,r)=>{throw new Error("Invalid value of type ".concat(typeof e," for ").concat(t," argument when connecting component ").concat(r.wrappedComponentName,"."))}}function Bl(e,t,n){return{...n,...e,...t}}function Ql(e){e()}var ql={notify(){},get:()=>[]};function Wl(e,t){let n,r=ql,a=0,o=!1;function i(){u.onStateChange&&u.onStateChange()}function l(){a++,n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ql((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const a=t={callback:n,next:null,prev:t};return a.prev?a.prev.next=a:e=a,function(){r&&null!==e&&(r=!1,a.next?a.next.prev=a.prev:t=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}())}function s(){a--,n&&0===a&&(n(),n=void 0,r.clear(),r=ql)}const u={addNestedSub:function(e){l();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,l())},tryUnsubscribe:function(){o&&(o=!1,s())},getListeners:()=>r};return u}var Hl=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?sl.useLayoutEffect:sl.useEffect;function Vl(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function Kl(e,t){if(Vl(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let a=0;a<n.length;a++)if(!Object.prototype.hasOwnProperty.call(t,n[a])||!Vl(e[n[a]],t[n[a]]))return!1;return!0}var $l={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Gl={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xl={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Yl={[Dl]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[Fl]:Xl};function Jl(e){return Ml(e)===_l?Xl:Yl[e.$$typeof]||$l}var Zl=Object.defineProperty,es=Object.getOwnPropertyNames,ts=Object.getOwnPropertySymbols,ns=Object.getOwnPropertyDescriptor,rs=Object.getPrototypeOf,as=Object.prototype;function os(e,t){if("string"!==typeof t){if(as){const n=rs(t);n&&n!==as&&os(e,n)}let n=es(t);ts&&(n=n.concat(ts(t)));const r=Jl(e),a=Jl(t);for(let o=0;o<n.length;++o){const i=n[o];if(!Gl[i]&&(!a||!a[i])&&(!r||!r[i])){const n=ns(t,i);try{Zl(e,i,n)}catch(Td){}}}}return e}var is=pl,ls=[null,null];function ss(e,t,n,r,a,o){e.current=r,n.current=!1,a.current&&(a.current=null,o())}function us(e,t){return e===t}var cs=function(e,t,n){let{pure:r,areStatesEqual:a=us,areOwnPropsEqual:o=Kl,areStatePropsEqual:i=Kl,areMergedPropsEqual:l=Kl,forwardRef:s=!1,context:u=fl}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const c=u,d=function(e){return e?"function"===typeof e?zl(e):Ul(e,"mapStateToProps"):Al((()=>({})))}(e),f=function(e){return e&&"object"===typeof e?Al((t=>function(e,t){const n={};for(const r in e){const a=e[r];"function"===typeof a&&(n[r]=function(){return t(a(...arguments))})}return n}(e,t))):e?"function"===typeof e?zl(e):Ul(e,"mapDispatchToProps"):Al((e=>({dispatch:e})))}(t),p=function(e){return e?"function"===typeof e?function(e){return function(t,n){let r,{displayName:a,areMergedPropsEqual:o}=n,i=!1;return function(t,n,a){const l=e(t,n,a);return i?o(l,r)||(r=l):(i=!0,r=l),r}}}(e):Ul(e,"mergeProps"):()=>Bl}(n),h=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n="Connect(".concat(t,")"),r={shouldHandleStateChanges:h,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:p,areStatesEqual:a,areStatePropsEqual:i,areOwnPropsEqual:o,areMergedPropsEqual:l};function u(t){const[n,a,o]=sl.useMemo((()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),i=sl.useMemo((()=>{let e=c;return null!==n&&void 0!==n&&n.Consumer,e}),[n,c]),l=sl.useContext(i),s=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),u=Boolean(l)&&Boolean(l.store);const d=s?t.store:l.store,f=u?l.getServerState:d.getState,p=sl.useMemo((()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:r,initMergeProps:a,...o}=t;return Ll(n(e,o),r(e,o),a(e,o),e,o)}(d.dispatch,r)),[d]),[m,v]=sl.useMemo((()=>{if(!h)return ls;const e=Wl(d,s?void 0:l.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[d,s,l]),y=sl.useMemo((()=>s?l:{...l,subscription:m}),[s,l,m]),g=sl.useRef(),b=sl.useRef(o),x=sl.useRef(),w=sl.useRef(!1),S=(sl.useRef(!1),sl.useRef(!1)),k=sl.useRef();Hl((()=>(S.current=!0,()=>{S.current=!1})),[]);const j=sl.useMemo((()=>()=>x.current&&o===b.current?x.current:p(d.getState(),o)),[d,o]),C=sl.useMemo((()=>e=>m?function(e,t,n,r,a,o,i,l,s,u,c){if(!e)return()=>{};let d=!1,f=null;const p=()=>{if(d||!l.current)return;const e=t.getState();let n,p;try{n=r(e,a.current)}catch(Td){p=Td,f=Td}p||(f=null),n===o.current?i.current||u():(o.current=n,s.current=n,i.current=!0,c())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}(h,d,m,p,b,g,w,S,x,v,e):()=>{}),[m]);var E,N,O;let P;E=ss,N=[b,g,w,o,x,v],Hl((()=>E(...N)),O);try{P=is(C,j,f?()=>p(f(),o):j)}catch(_){throw k.current&&(_.message+="\nThe error may be correlated with this previous error:\n".concat(k.current.stack,"\n\n")),_}Hl((()=>{k.current=void 0,x.current=void 0,g.current=P}));const R=sl.useMemo((()=>sl.createElement(e,{...P,ref:a})),[a,e,P]);return sl.useMemo((()=>h?sl.createElement(i.Provider,{value:y},R):R),[i,R,y])}const m=sl.memo(u);if(m.WrappedComponent=e,m.displayName=u.displayName=n,s){const t=sl.forwardRef((function(e,t){return sl.createElement(m,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,os(t,e)}return os(m,e)}};var ds=function(e){let{store:t,context:n,children:r,serverState:a,stabilityCheck:o="once",identityFunctionCheck:i="once"}=e;const l=sl.useMemo((()=>{const e=Wl(t);return{store:t,subscription:e,getServerState:a?()=>a:void 0,stabilityCheck:o,identityFunctionCheck:i}}),[t,a,o,i]),s=sl.useMemo((()=>t.getState()),[t]);Hl((()=>{const{subscription:e}=l;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[l,s]);const u=n||fl;return sl.createElement(u.Provider,{value:l},r)};function fs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fl;const t=e===fl?ml:hl(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var ps=fs();function hs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fl;const t=e===fl?ps:fs(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var ms,vs=hs();ms=ll.useSyncExternalStoreWithSelector,vl=ms,(e=>{is=e})(t.useSyncExternalStore);var ys=Symbol.for("immer-nothing"),gs=Symbol.for("immer-draftable"),bs=Symbol.for("immer-state");function xs(e){throw new Error("[Immer] minified error nr: ".concat(e,". Full error at: https://bit.ly/3cXEKWf"))}var ws=Object.getPrototypeOf;function Ss(e){return!!e&&!!e[bs]}function ks(e){var t;return!!e&&(Cs(e)||Array.isArray(e)||!!e[gs]||!(null===(t=e.constructor)||void 0===t||!t[gs])||Rs(e)||_s(e))}var js=Object.prototype.constructor.toString();function Cs(e){if(!e||"object"!==typeof e)return!1;const t=ws(e);if(null===t)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===js}function Es(e,t){0===Ns(e)?Reflect.ownKeys(e).forEach((n=>{t(n,e[n],e)})):e.forEach(((n,r)=>t(r,n,e)))}function Ns(e){const t=e[bs];return t?t.type_:Array.isArray(e)?1:Rs(e)?2:_s(e)?3:0}function Os(e,t){return 2===Ns(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ps(e,t,n){const r=Ns(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function Rs(e){return e instanceof Map}function _s(e){return e instanceof Set}function Ts(e){return e.copy_||e.base_}function Ds(e,t){if(Rs(e))return new Map(e);if(_s(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Cs(e)){if(!ws(e)){const t=Object.create(null);return Object.assign(t,e)}return{...e}}const n=Object.getOwnPropertyDescriptors(e);delete n[bs];let r=Reflect.ownKeys(n);for(let a=0;a<r.length;a++){const t=r[a],o=n[t];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(n[t]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[t]})}return Object.create(ws(e),n)}function Fs(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Ls(e)||Ss(e)||!ks(e)||(Ns(e)>1&&(e.set=e.add=e.clear=e.delete=Ms),Object.freeze(e),t&&Object.entries(e).forEach((e=>{let[t,n]=e;return Fs(n,!0)}))),e}function Ms(){xs(2)}function Ls(e){return Object.isFrozen(e)}var As,Is={};function zs(e){const t=Is[e];return t||xs(0),t}function Us(){return As}function Bs(e,t){t&&(zs("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Qs(e){qs(e),e.drafts_.forEach(Hs),e.drafts_=null}function qs(e){e===As&&(As=e.parent_)}function Ws(e){return As={drafts_:[],parent_:As,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Hs(e){const t=e[bs];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Vs(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return void 0!==e&&e!==n?(n[bs].modified_&&(Qs(t),xs(4)),ks(e)&&(e=Ks(t,e),t.parent_||Gs(t,e)),t.patches_&&zs("Patches").generateReplacementPatches_(n[bs].base_,e,t.patches_,t.inversePatches_)):e=Ks(t,n,[]),Qs(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ys?e:void 0}function Ks(e,t,n){if(Ls(t))return t;const r=t[bs];if(!r)return Es(t,((a,o)=>$s(e,r,t,a,o,n))),t;if(r.scope_!==e)return t;if(!r.modified_)return Gs(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const t=r.copy_;let a=t,o=!1;3===r.type_&&(a=new Set(t),t.clear(),o=!0),Es(a,((a,i)=>$s(e,r,t,a,i,n,o))),Gs(e,t,!1),n&&e.patches_&&zs("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function $s(e,t,n,r,a,o,i){if(Ss(a)){const i=Ks(e,a,o&&t&&3!==t.type_&&!Os(t.assigned_,r)?o.concat(r):void 0);if(Ps(n,r,i),!Ss(i))return;e.canAutoFreeze_=!1}else i&&n.add(a);if(ks(a)&&!Ls(a)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Ks(e,a),t&&t.scope_.parent_||"symbol"===typeof r||!Object.prototype.propertyIsEnumerable.call(n,r)||Gs(e,a)}}function Gs(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Fs(t,n)}var Xs={get(e,t){if(t===bs)return e;const n=Ts(e);if(!Os(n,t))return function(e,t,n){var r;const a=Zs(t,n);return a?"value"in a?a.value:null===(r=a.get)||void 0===r?void 0:r.call(e.draft_):void 0}(e,n,t);const r=n[t];return e.finalized_||!ks(r)?r:r===Js(e.base_,t)?(tu(e),e.copy_[t]=nu(r,e)):r},has:(e,t)=>t in Ts(e),ownKeys:e=>Reflect.ownKeys(Ts(e)),set(e,t,n){const r=Zs(Ts(e),t);if(null!==r&&void 0!==r&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=Js(Ts(e),t),i=null===r||void 0===r?void 0:r[bs];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((a=n)===(o=r)?0!==a||1/a===1/o:a!==a&&o!==o)&&(void 0!==n||Os(e.base_,t)))return!0;tu(e),eu(e)}var a,o;return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==Js(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,tu(e),eu(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=Ts(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty(){xs(11)},getPrototypeOf:e=>ws(e.base_),setPrototypeOf(){xs(12)}},Ys={};function Js(e,t){const n=e[bs];return(n?Ts(n):e)[t]}function Zs(e,t){if(!(t in e))return;let n=ws(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=ws(n)}}function eu(e){e.modified_||(e.modified_=!0,e.parent_&&eu(e.parent_))}function tu(e){e.copy_||(e.copy_=Ds(e.base_,e.scope_.immer_.useStrictShallowCopy_))}Es(Xs,((e,t)=>{Ys[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ys.deleteProperty=function(e,t){return Ys.set.call(this,e,t,void 0)},Ys.set=function(e,t,n){return Xs.set.call(this,e[0],t,n,e[0])};function nu(e,t){const n=Rs(e)?zs("MapSet").proxyMap_(e,t):_s(e)?zs("MapSet").proxySet_(e,t):function(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Us(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let a=r,o=Xs;n&&(a=[r],o=Ys);const{revoke:i,proxy:l}=Proxy.revocable(a,o);return r.draft_=l,r.revoke_=i,l}(e,t);return(t?t.scope_:Us()).drafts_.push(n),n}function ru(e){return Ss(e)||xs(10),au(e)}function au(e){if(!ks(e)||Ls(e))return e;const t=e[bs];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Ds(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Ds(e,!0);return Es(n,((e,t)=>{Ps(n,e,au(t))})),t&&(t.finalized_=!1),n}var ou=new class{constructor(e){var t=this;this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,n)=>{if("function"===typeof e&&"function"!==typeof t){const n=t;t=e;const r=this;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];return r.produce(e,(e=>t.call(this,e,...o)))}}let r;if("function"!==typeof t&&xs(6),void 0!==n&&"function"!==typeof n&&xs(7),ks(e)){const a=Ws(this),o=nu(e,void 0);let i=!0;try{r=t(o),i=!1}finally{i?Qs(a):qs(a)}return Bs(a,n),Vs(r,a)}if(!e||"object"!==typeof e){if(r=t(e),void 0===r&&(r=e),r===ys&&(r=void 0),this.autoFreeze_&&Fs(r,!0),n){const t=[],a=[];zs("Patches").generateReplacementPatches_(e,r,t,a),n(t,a)}return r}xs(1)},this.produceWithPatches=(e,n)=>{if("function"===typeof e)return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return t.produceWithPatches(n,(t=>e(t,...a)))};let r,a;return[this.produce(e,n,((e,t)=>{r=e,a=t})),r,a]},"boolean"===typeof(null===e||void 0===e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),"boolean"===typeof(null===e||void 0===e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){ks(e)||xs(8),Ss(e)&&(e=ru(e));const t=Ws(this),n=nu(e,void 0);return n[bs].isManual_=!0,qs(t),n}finishDraft(e,t){const n=e&&e[bs];n&&n.isManual_||xs(9);const{scope_:r}=n;return Bs(r,t),Vs(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));const r=zs("Patches").applyPatches_;return Ss(e)?r(e,t):this.produce(e,(e=>r(e,t)))}},iu=ou.produce;ou.produceWithPatches.bind(ou),ou.setAutoFreeze.bind(ou),ou.setUseStrictShallowCopy.bind(ou),ou.applyPatches.bind(ou),ou.createDraft.bind(ou),ou.finishDraft.bind(ou);function lu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected a function, instead received ".concat(typeof e);if("function"!==typeof e)throw new TypeError(t)}var su=e=>Array.isArray(e)?e:[e];function uu(e){const t=Array.isArray(e[0])?e[0]:e;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected all items to be functions, instead received the following types: ";if(!e.every((e=>"function"===typeof e))){const n=e.map((e=>"function"===typeof e?"function ".concat(e.name||"unnamed","()"):typeof e)).join(", ");throw new TypeError("".concat(t,"[").concat(n,"]"))}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}Symbol(),Object.getPrototypeOf({});var cu="undefined"!==typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},du=0,fu=1;function pu(){return{s:du,v:void 0,o:null,p:null}}function hu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=pu();const{resultEqualityCheck:r}=t;let a,o=0;function i(){let t=n;const{length:i}=arguments;for(let e=0,n=i;e<n;e++){const n=arguments[e];if("function"===typeof n||"object"===typeof n&&null!==n){let e=t.o;null===e&&(t.o=e=new WeakMap);const r=e.get(n);void 0===r?(t=pu(),e.set(n,t)):t=r}else{let e=t.p;null===e&&(t.p=e=new Map);const r=e.get(n);void 0===r?(t=pu(),e.set(n,t)):t=r}}const l=t;let s;if(t.s===fu?s=t.v:(s=e.apply(null,arguments),o++),l.s=fu,r){var u,c,d;const e=null!==(u=null===(c=a)||void 0===c||null===(d=c.deref)||void 0===d?void 0:d.call(c))&&void 0!==u?u:a;null!=e&&r(e,s)&&(s=e,0!==o&&o--);a="object"===typeof s&&null!==s||"function"===typeof s?new cu(s):s}return l.v=s,s}return i.clearCache=()=>{n=pu(),i.resetResultsCount()},i.resultsCount=()=>o,i.resetResultsCount=()=>{o=0},i}function mu(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a="function"===typeof e?{memoize:e,memoizeOptions:n}:e,o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];let r,o=0,i=0,l={},s=t.pop();"object"===typeof s&&(l=s,s=t.pop()),lu(s,"createSelector expects an output function after the inputs, but received: [".concat(typeof s,"]"));const u={...a,...l},{memoize:c,memoizeOptions:d=[],argsMemoize:f=hu,argsMemoizeOptions:p=[],devModeChecks:h={}}=u,m=su(d),v=su(p),y=uu(t),g=c((function(){return o++,s.apply(null,arguments)}),...m);const b=f((function(){i++;const e=function(e,t){const n=[],{length:r}=e;for(let a=0;a<r;a++)n.push(e[a].apply(null,t));return n}(y,arguments);return r=g.apply(null,e),r}),...v);return Object.assign(b,{resultFunc:s,memoizedResultFunc:g,dependencies:y,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>r,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:c,argsMemoize:f})};return Object.assign(o,{withTypes:()=>o}),o}var vu=mu(hu),yu=Object.assign((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vu;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"expected an object, instead received ".concat(typeof e);if("object"!==typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ".concat(typeof e));const n=Object.keys(e),r=t(n.map((t=>e[t])),(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(((e,t,r)=>(e[n[r]]=t,e)),{})}));return r}),{withTypes:()=>yu});function gu(e){return"Minified Redux error #".concat(e,"; visit https://redux.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var bu=(()=>"function"===typeof Symbol&&Symbol.observable||"@@observable")(),xu=()=>Math.random().toString(36).substring(7).split("").join("."),wu={INIT:"@@redux/INIT".concat(xu()),REPLACE:"@@redux/REPLACE".concat(xu()),PROBE_UNKNOWN_ACTION:()=>"@@redux/PROBE_UNKNOWN_ACTION".concat(xu())};function Su(e){if("object"!==typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function ku(e,t,n){if("function"!==typeof e)throw new Error(gu(2));if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(gu(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(gu(1));return n(ku)(e,t)}let r=e,a=t,o=new Map,i=o,l=0,s=!1;function u(){i===o&&(i=new Map,o.forEach(((e,t)=>{i.set(t,e)})))}function c(){if(s)throw new Error(gu(3));return a}function d(e){if("function"!==typeof e)throw new Error(gu(4));if(s)throw new Error(gu(5));let t=!0;u();const n=l++;return i.set(n,e),function(){if(t){if(s)throw new Error(gu(6));t=!1,u(),i.delete(n),o=null}}}function f(e){if(!Su(e))throw new Error(gu(7));if("undefined"===typeof e.type)throw new Error(gu(8));if("string"!==typeof e.type)throw new Error(gu(17));if(s)throw new Error(gu(9));try{s=!0,a=r(a,e)}finally{s=!1}return(o=i).forEach((e=>{e()})),e}f({type:wu.INIT});return{dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!==typeof e)throw new Error(gu(10));r=e,f({type:wu.REPLACE})},[bu]:function(){const e=d;return{subscribe(t){if("object"!==typeof t||null===t)throw new Error(gu(11));function n(){const e=t;e.next&&e.next(c())}n();return{unsubscribe:e(n)}},[bu](){return this}}}}}function ju(e){const t=Object.keys(e),n={};for(let o=0;o<t.length;o++){const r=t[o];0,"function"===typeof e[r]&&(n[r]=e[r])}const r=Object.keys(n);let a;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if("undefined"===typeof n(void 0,{type:wu.INIT}))throw new Error(gu(12));if("undefined"===typeof n(void 0,{type:wu.PROBE_UNKNOWN_ACTION()}))throw new Error(gu(13))}))}(n)}catch(Td){a=Td}return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(a)throw a;let o=!1;const i={};for(let a=0;a<r.length;a++){const l=r[a],s=n[l],u=e[l],c=s(u,t);if("undefined"===typeof c){t&&t.type;throw new Error(gu(14))}i[l]=c,o=o||c!==u}return o=o||r.length!==Object.keys(e).length,o?i:e}}function Cu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?e=>e:1===t.length?t[0]:t.reduce(((e,t)=>function(){return e(t(...arguments))}))}function Eu(e){return t=>{let{dispatch:n,getState:r}=t;return t=>a=>"function"===typeof a?a(n,r,e):t(a)}}var Nu=Eu(),Ou=Eu,Pu=(function(){const e=mu(...arguments),t=Object.assign((function(){const t=e(...arguments),n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return t(Ss(e)?ru(e):e,...r)};return Object.assign(n,t),n}),{withTypes:()=>t})}(hu),"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?Cu:Cu.apply(null,arguments)});"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Ru(e,t){function n(){if(t){let n=t(...arguments);if(!n)throw new Error(nc(0));return{type:e,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:e,payload:arguments.length<=0?void 0:arguments[0]}}return n.toString=()=>"".concat(e),n.type=e,n.match=t=>function(e){return Su(e)&&"type"in e&&"string"===typeof e.type}(t)&&t.type===e,n}var _u=class e extends Array{constructor(){super(...arguments),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return super.concat.apply(this,t)}prepend(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return 1===n.length&&Array.isArray(n[0])?new e(...n[0].concat(this)):new e(...n.concat(this))}};function Tu(e){return ks(e)?iu(e,(()=>{})):e}function Du(e,t,n){if(e.has(t)){let r=e.get(t);return n.update&&(r=n.update(r,t,e),e.set(t,r)),r}if(!n.insert)throw new Error(nc(10));const r=n.insert(t,e);return e.set(t,r),r}var Fu="RTK_autoBatch",Mu=e=>t=>{setTimeout(t,e)},Lu="undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Mu(10),Au=e=>function(t){const{autoBatch:n=!0}=null!==t&&void 0!==t?t:{};let r=new _u(e);return n&&r.push(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"raf"};return t=>function(){const n=t(...arguments);let r=!0,a=!1,o=!1;const i=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?Lu:"callback"===e.type?e.queueNotification:Mu(e.timeout),s=()=>{o=!1,a&&(a=!1,i.forEach((e=>e())))};return Object.assign({},n,{subscribe(e){const t=n.subscribe((()=>r&&e()));return i.add(e),()=>{t(),i.delete(e)}},dispatch(e){try{var t;return r=!(null!==e&&void 0!==e&&null!==(t=e.meta)&&void 0!==t&&t[Fu]),a=!r,a&&(o||(o=!0,l(s))),n.dispatch(e)}finally{r=!0}}})}}("object"===typeof n?n:void 0)),r};function Iu(e){const t={},n=[];let r;const a={addCase(e,n){const r="string"===typeof e?e:e.type;if(!r)throw new Error(nc(28));if(r in t)throw new Error(nc(29));return t[r]=n,a},addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),a),addDefaultCase:e=>(r=e,a)};return e(a),[t,n,r]}var zu=function(){let e="",t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;for(;t--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e};var Uu=Symbol.for("rtk-slice-createasyncthunk");function Bu(e,t){return"".concat(e,"/").concat(t)}function Qu(){var e;let{creators:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=null===t||void 0===t||null===(e=t.asyncThunk)||void 0===e?void 0:e[Uu];return function(e){const{name:t,reducerPath:r=t}=e;if(!t)throw new Error(nc(11));const a=("function"===typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name](){return e(...arguments)}}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},o=Object.keys(a),i={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},l={addCase(e,t){const n="string"===typeof e?e:e.type;if(!n)throw new Error(nc(12));if(n in i.sliceCaseReducersByType)throw new Error(nc(13));return i.sliceCaseReducersByType[n]=t,l},addMatcher:(e,t)=>(i.sliceMatchers.push({matcher:e,reducer:t}),l),exposeAction:(e,t)=>(i.actionCreators[e]=t,l),exposeCaseReducer:(e,t)=>(i.sliceCaseReducersByName[e]=t,l)};function s(){const[t={},n=[],r]="function"===typeof e.extraReducers?Iu(e.extraReducers):[e.extraReducers],a={...t,...i.sliceCaseReducersByType};return function(e,t){let n,[r,a,o]=Iu(t);if("function"===typeof e)n=()=>Tu(e());else{const t=Tu(e);n=()=>t}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n(),t=arguments.length>1?arguments[1]:void 0,i=[r[t.type],...a.filter((e=>{let{matcher:n}=e;return n(t)})).map((e=>{let{reducer:t}=e;return t}))];return 0===i.filter((e=>!!e)).length&&(i=[o]),i.reduce(((e,n)=>{if(n){if(Ss(e)){const r=n(e,t);return void 0===r?e:r}if(ks(e))return iu(e,(e=>n(e,t)));{const r=n(e,t);if(void 0===r){if(null===e)return e;throw new Error(nc(9))}return r}}return e}),e)}return i.getInitialState=n,i}(e.initialState,(e=>{for(let t in a)e.addCase(t,a[t]);for(let t of i.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)}))}o.forEach((r=>{const o=a[r],i={reducerName:r,type:Bu(t,r),createNotation:"function"===typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(o)?function(e,t,n){let r,a,{type:o,reducerName:i,createNotation:l}=e;if("reducer"in t){if(l&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(t))throw new Error(nc(17));r=t.reducer,a=t.prepare}else r=t;n.addCase(o,r).exposeCaseReducer(i,r).exposeAction(i,a?Ru(o,a):Ru(o))}(i,o,l):function(e,t,n,r){let{type:a,reducerName:o}=e;if(!r)throw new Error(nc(18));const{payloadCreator:i,fulfilled:l,pending:s,rejected:u,settled:c,options:d}=t,f=r(a,i,d);n.exposeAction(o,f),l&&n.addCase(f.fulfilled,l);s&&n.addCase(f.pending,s);u&&n.addCase(f.rejected,u);c&&n.addMatcher(f.settled,c);n.exposeCaseReducer(o,{fulfilled:l||Hu,pending:s||Hu,rejected:u||Hu,settled:c||Hu})}(i,o,l,n)}));const u=e=>e,c=new Map;let d;function f(e,t){return d||(d=s()),d(e,t)}function p(){return d||(d=s()),d.getInitialState()}function h(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function r(e){let r=e[t];return"undefined"===typeof r&&n&&(r=p()),r}function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;const r=Du(c,n,{insert:()=>new WeakMap});return Du(r,t,{insert:()=>{const r={};for(const[o,i]of Object.entries(null!==(a=e.selectors)&&void 0!==a?a:{})){var a;r[o]=qu(i,t,p,n)}return r}})}return{reducerPath:t,getSelectors:a,get selectors(){return a(r)},selectSlice:r}}const m={name:t,reducer:f,actions:i.actionCreators,caseReducers:i.sliceCaseReducersByName,getInitialState:p,...h(r),injectInto(e){let{reducerPath:t,...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=null!==t&&void 0!==t?t:r;return e.inject({reducerPath:a,reducer:f},n),{...m,...h(a,!0)}}};return m}}function qu(e,t,n,r){function a(a){let o=t(a);"undefined"===typeof o&&r&&(o=n());for(var i=arguments.length,l=new Array(i>1?i-1:0),s=1;s<i;s++)l[s-1]=arguments[s];return e(o,...l)}return a.unwrapped=e,a}var Wu=Qu();function Hu(){}var Vu="listener",Ku="completed",$u="cancelled",Gu=("task-".concat($u),"task-".concat(Ku),"".concat(Vu,"-").concat($u),"".concat(Vu,"-").concat(Ku),(e,t)=>{if("function"!==typeof e)throw new Error(nc(32))});var{assign:Xu}=Object,Yu="listenerMiddleware",Ju=e=>{let{type:t,actionCreator:n,matcher:r,predicate:a,effect:o}=e;if(t)a=Ru(t).match;else if(n)t=n.type,a=n.match;else if(r)a=r;else if(!a)throw new Error(nc(21));return Gu(o),{predicate:a,type:t,effect:o}},Zu=Object.assign((e=>{const{type:t,predicate:n,effect:r}=Ju(e);return{id:zu(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(nc(22))}}}),{withTypes:()=>Zu}),ec=Object.assign(Ru("".concat(Yu,"/add")),{withTypes:()=>ec}),tc=(Ru("".concat(Yu,"/removeAll")),Object.assign(Ru("".concat(Yu,"/remove")),{withTypes:()=>tc}));Symbol.for("rtk-state-proxy-original");function nc(e){return"Minified Redux Toolkit error #".concat(e,"; visit https://redux-toolkit.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}const rc=Wu({name:"employees",initialState:{employees:[],status:null,error:null},reducers:e=>({addStaff:e.reducer(((e,t)=>{e.employees.push(t.payload)})),deleteStaff:e.reducer(((e,t)=>{e.employees=e.employees.filter((e=>e.lastName!==t.payload))})),saveStaff:e.reducer(((e,t)=>{e.employees=e.employees.filter((e=>e.snils!==t.payload.snils)),e.employees.push(t.payload)}))})}),{addStaff:ac,deleteStaff:oc,saveStaff:ic,getStaffById:lc}=rc.actions,sc=rc.reducer;class uc extends t.Component{constructor(e){super(e),this.state={staff:{lastName:"",middleName:"",firstName:"",jobName:"",department:"",snils:"",workSchedule:"",cardNumber:""}},this.handleCheck=this.handleCheck.bind(this),this.handleClose=this.handleClose.bind(this),this.handleSave=this.handleSave.bind(this),this.lastName=t.createRef(),this.middleName=t.createRef(),this.firstName=t.createRef(),this.jobName=t.createRef(),this.department=t.createRef(),this.snils=t.createRef(),this.workSchedule=t.createRef(),this.cardNumber=t.createRef()}handleSave(e){this.props.addStaff({...this.state.staff}),this.setState({staff:{lastName:"",middleName:"",firstName:"",jobName:"",department:"",snils:"",workSchedule:"",cardNumber:""}}),this.lastName.current.value="",this.middleName.current.value="",this.firstName.current.value="",this.jobName.current.value="",this.department.current.value="",this.snils.current.value="",this.workSchedule.current.value="",this.cardNumber.current.value=""}handleCheck(e){this.setState({staff:{...this.state.staff,[e.target.name]:e.target.value}})}handleClose(){alert(this.state.staff)}render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)("h1",{children:"\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430"}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0424\u0430\u043c\u0438\u043b\u0438\u044f"}),(0,ye.jsx)(al.Control,{ref:this.lastName,"aria-label":"\u0424\u0430\u043c\u0438\u043b\u0438\u044f","aria-describedby":"lastName",name:"lastName",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0418\u043c\u044f"}),(0,ye.jsx)(al.Control,{ref:this.firstName,"aria-label":"\u0418\u043c\u044f","aria-describedby":"firstName",name:"firstName",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e"}),(0,ye.jsx)(al.Control,{ref:this.middleName,"aria-label":"\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e","aria-describedby":"middleName",name:"middleName",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c"}),(0,ye.jsx)(al.Control,{ref:this.jobName,"aria-label":"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c","aria-describedby":"jobName",name:"jobName",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435"}),(0,ye.jsx)(al.Control,{ref:this.department,"aria-label":"\u041f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435","aria-describedby":"department",name:"department",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0421\u041d\u0418\u041b\u0421"}),(0,ye.jsx)(al.Control,{ref:this.snils,"aria-label":"\u0421\u041d\u0418\u041b\u0421","aria-describedby":"snils",name:"snils",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b"}),(0,ye.jsx)(al.Control,{ref:this.workSchedule,"aria-label":"\u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b","aria-describedby":"workSchedule",name:"workSchedule",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b"}),(0,ye.jsx)(al.Control,{ref:this.cardNumber,"aria-label":"\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b","aria-describedby":"cardNumber",name:"cardNumber",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(il,{"aria-label":"Employee added",children:[(0,ye.jsx)(Zo,{onClick:this.handleSave,variant:"primary",children:"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"}),(0,ye.jsx)(Zo,{variant:"danger",children:"\u041e\u0442\u043c\u0435\u043d\u0430"})]}),(0,ye.jsx)(qi,{})]})]})}}const cc=cs(null,(e=>({addStaff:t=>e(ac(t))})))(uc),dc=t.forwardRef(((e,t)=>{let{bsPrefix:n,active:r,disabled:a,eventKey:o,className:i,variant:l,action:s,as:u,...c}=e;n=ke(n,"list-group-item");const[d,f]=nt({key:We(o,c.href),active:r,...c}),p=Xe((e=>{if(a)return e.preventDefault(),void e.stopPropagation();d.onClick(e)}));a&&void 0===c.tabIndex&&(c.tabIndex=-1,c["aria-disabled"]=!0);const h=u||(s?c.href?"a":"button":"div");return(0,ye.jsx)(h,{ref:t,...c,...d,onClick:p,className:ve()(i,n,f.isActive&&"active",a&&"disabled",l&&"".concat(n,"-").concat(l),s&&"".concat(n,"-action"))})}));dc.displayName="ListGroupItem";const fc=dc,pc=t.forwardRef(((e,t)=>{const{className:n,bsPrefix:r,variant:a,horizontal:o,numbered:i,as:l="div",...s}=De(e,{activeKey:"onSelect"}),u=ke(r,"list-group");let c;return o&&(c=!0===o?"horizontal":"horizontal-".concat(o)),(0,ye.jsx)(ut,{ref:t,...s,as:l,className:ve()(n,u,a&&"".concat(u,"-").concat(a),c&&"".concat(u,"-").concat(c),i&&"".concat(u,"-numbered"))})}));pc.displayName="ListGroup";const hc=Object.assign(pc,{Item:fc});var mc;function vc(e){if((!mc&&0!==mc||e)&&Xt){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),mc=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return mc}const yc=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=ke(r,"modal-body"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));yc.displayName="ModalBody";const gc=yc,bc=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,contentClassName:a,centered:o,size:i,fullscreen:l,children:s,scrollable:u,...c}=e;n=ke(n,"modal");const d="".concat(n,"-dialog"),f="string"===typeof l?"".concat(n,"-fullscreen-").concat(l):"".concat(n,"-fullscreen");return(0,ye.jsx)("div",{...c,ref:t,className:ve()(d,r,i&&"".concat(n,"-").concat(i),o&&"".concat(d,"-centered"),u&&"".concat(d,"-scrollable"),l&&f),children:(0,ye.jsx)("div",{className:ve()("".concat(n,"-content"),a),children:s})})}));bc.displayName="ModalDialog";const xc=bc,wc=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a="div",...o}=e;return r=ke(r,"modal-footer"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));wc.displayName="ModalFooter";const Sc=wc,kc=t.forwardRef(((e,t)=>{let{bsPrefix:n,className:r,closeLabel:a="Close",closeButton:o=!1,...i}=e;return n=ke(n,"modal-header"),(0,ye.jsx)(er,{ref:t,...i,className:ve()(r,n),closeLabel:a,closeButton:o})}));kc.displayName="ModalHeader";const jc=kc,Cc=rr("h4"),Ec=t.forwardRef(((e,t)=>{let{className:n,bsPrefix:r,as:a=Cc,...o}=e;return r=ke(r,"modal-title"),(0,ye.jsx)(a,{ref:t,className:ve()(n,r),...o})}));Ec.displayName="ModalTitle";const Nc=Ec;function Oc(e){return(0,ye.jsx)(Bn,{...e,timeout:null})}function Pc(e){return(0,ye.jsx)(Bn,{...e,timeout:null})}const Rc=t.forwardRef(((e,n)=>{let{bsPrefix:r,className:a,style:o,dialogClassName:i,contentClassName:l,children:s,dialogAs:u=xc,"data-bs-theme":c,"aria-labelledby":d,"aria-describedby":f,"aria-label":p,show:h=!1,animation:m=!0,backdrop:v=!0,keyboard:y=!0,onEscapeKeyDown:g,onShow:b,onHide:x,container:w,autoFocus:S=!0,enforceFocus:k=!0,restoreFocus:j=!0,restoreFocusOptions:C,onEntered:E,onExit:N,onExiting:O,onEnter:P,onEntering:R,onExited:_,backdropClassName:T,manager:D,...F}=e;const[M,L]=(0,t.useState)({}),[A,I]=(0,t.useState)(!1),z=(0,t.useRef)(!1),U=(0,t.useRef)(!1),B=(0,t.useRef)(null),[Q,q]=vt(),W=Be(n,q),H=Xe(x),V=Ee();r=ke(r,"modal");const K=(0,t.useMemo)((()=>({onHide:H})),[H]);function $(){return D||pr({isRTL:V})}function G(e){if(!Xt)return;const t=$().getScrollbarWidth()>0,n=e.scrollHeight>Rt(e).documentElement.clientHeight;L({paddingRight:t&&!n?vc():void 0,paddingLeft:!t&&n?vc():void 0})}const X=Xe((()=>{Q&&G(Q.dialog)}));Cn((()=>{tn(window,"resize",X),null==B.current||B.current()}));const Y=()=>{z.current=!0},J=e=>{z.current&&Q&&e.target===Q.dialog&&(U.current=!0),z.current=!1},Z=()=>{I(!0),B.current=an(Q.dialog,(()=>{I(!1)}))},ee=e=>{"static"!==v?U.current||e.target!==e.currentTarget?U.current=!1:null==x||x():(e=>{e.target===e.currentTarget&&Z()})(e)},te=(0,t.useCallback)((e=>(0,ye.jsx)("div",{...e,className:ve()("".concat(r,"-backdrop"),T,!m&&"show")})),[m,T,r]),ne={...o,...M};ne.display="block";return(0,ye.jsx)(Kn.Provider,{value:K,children:(0,ye.jsx)(In,{show:h,ref:W,backdrop:v,container:w,keyboard:!0,autoFocus:S,enforceFocus:k,restoreFocus:j,restoreFocusOptions:C,onEscapeKeyDown:e=>{y?null==g||g(e):(e.preventDefault(),"static"===v&&Z())},onShow:b,onHide:x,onEnter:(e,t)=>{e&&G(e),null==P||P(e,t)},onEntering:(e,t)=>{null==R||R(e,t),en(window,"resize",X)},onEntered:E,onExit:e=>{null==B.current||B.current(),null==N||N(e)},onExiting:O,onExited:e=>{e&&(e.style.display=""),null==_||_(e),tn(window,"resize",X)},manager:$(),transition:m?Oc:void 0,backdropTransition:m?Pc:void 0,renderBackdrop:te,renderDialog:e=>(0,ye.jsx)("div",{role:"dialog",...e,style:ne,className:ve()(a,r,A&&"".concat(r,"-static"),!m&&"show"),onClick:v?ee:void 0,onMouseUp:J,"data-bs-theme":c,"aria-label":p,"aria-labelledby":d,"aria-describedby":f,children:(0,ye.jsx)(u,{...F,onMouseDown:Y,className:i,contentClassName:l,children:s})})})})}));Rc.displayName="Modal";const _c=Object.assign(Rc,{Body:gc,Header:jc,Title:Nc,Footer:Sc,Dialog:xc,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),Tc=async()=>{try{const e="".concat(document.location.protocol,"/employee/getallemployee"),t=await fetch(e).then((e=>e.json()));return console.log("rest ok!!",t),t}catch(e){console.log(e.message)}};var Dc=n(907);const Fc=()=>{const e=vs(),[n,r]=(0,t.useState)(!1),[a,o]=(0,t.useState)({id:null,lastName:"",firstName:"",middleName:"",position:{id:null,posName:""},dept:{id:null,depName:""},snils:"",schedule:{id:null,scheduleName:""},cardNumber:""}),i=bl((e=>e.employees.employees)),[l,s]=(0,t.useState)([]);console.log(" first ",i),console.log("empl ",l);const u=e=>{(0,Dc.useMutation)((t=>{t.preventDefault(),(async e=>{try{const t="".concat(document.location.protocol,"/employee/delemployee/").concat(e),n=await fetch(t,{method:"DELETE"});if(!n.ok)throw new Error("\u041e\u0448\u0438\u0431\u043a\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430");return n}catch(t){console.log(t.message)}})(e)}))},c=e=>{o({...a,[e.target.name]:e.target.value})},d=()=>{r(!1)},f=t=>{console.log("editAndDelete");const n=t.currentTarget.getAttribute("data-item");switch(t.target.getAttribute("data-button")){case"edit":let t=h.filter((e=>e.lastName==n))[0];o({...t}),r(!0);break;case"delete":u(n),s([...l.filter((e=>e.lastName!==n))]);break;case"save":s([...l.filter((e=>e.lastName!==a.lastName)),{...a}]),e(ic({...a})),r(!1)}},{status:p,data:h,isFetching:m,error:v}=(0,Dc.useQuery)("getall",Tc);return"loading"===p?(0,ye.jsx)(ye.Fragment,{children:(0,ye.jsx)("div",{class:"d-flex justify-content-center",children:(0,ye.jsx)("div",{class:"spinner-border text-primary",role:"status",children:(0,ye.jsx)("span",{class:"visually-hidden",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})})})}):(console.log("stat ",h),"error"===p?(0,ye.jsxs)("div",{children:["  \u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438   ",(0,ye.jsx)("h1",{})]}):(0,ye.jsxs)(wi,{children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:2,children:"\u0424\u0430\u043c\u0438\u043b\u0438\u044f"}),(0,ye.jsx)(qi,{xs:2,children:"\u0418\u043c\u044f"}),(0,ye.jsx)(qi,{xs:2,children:"\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e"}),(0,ye.jsx)(qi,{xs:2,children:"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c"}),(0,ye.jsx)(qi,{xs:2,children:"\u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b"})]}),n?(0,ye.jsxs)(_c,{show:n,onHide:d,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsxs)(_c.Title,{children:["\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432\u0430\u0442\u044c ",a.lastName]})}),(0,ye.jsxs)(_c.Body,{children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0424\u0430\u043c\u0438\u043b\u0438\u044f"}),(0,ye.jsx)(al.Control,{"aria-label":"\u0424\u0430\u043c\u0438\u043b\u0438\u044f","aria-describedby":"lastName",name:"lastName",defaultValue:a.lastName,onChange:c})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0418\u043c\u044f"}),(0,ye.jsx)(al.Control,{"aria-label":"\u0418\u043c\u044f","aria-describedby":"firstName",name:"firstName",defaultValue:a.firstName,onChange:c})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e"}),(0,ye.jsx)(al.Control,{"aria-label":"\u041e\u0442\u0447\u0435\u0441\u0442\u0432\u043e","aria-describedby":"middleName",name:"middleName",defaultValue:a.middleName,onChange:c})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c"}),(0,ye.jsx)(al.Control,{"aria-label":"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c","aria-describedby":"jobName",name:"jobName",defaultValue:a.position.posName,onChange:c})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435"}),(0,ye.jsx)(al.Control,{"aria-label":"\u041f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435","aria-describedby":"department",name:"department",defaultValue:a.dept.depName,onChange:c})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0421\u041d\u0418\u041b\u0421"}),(0,ye.jsx)(al.Control,{"aria-label":"\u0421\u041d\u0418\u041b\u0421","aria-describedby":"snils",name:"snils",defaultValue:a.snils,onChange:c})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b"}),(0,ye.jsx)(al.Control,{"aria-label":"\u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b","aria-describedby":"workSchedule",name:"workSchedule",defaultValue:a.schedule.scheduleName,onChange:c})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b"}),(0,ye.jsx)(al.Control,{"aria-label":"\u041d\u043e\u043c\u0435\u0440 \u043a\u0430\u0440\u0442\u044b","aria-describedby":"cardNumber",name:"cardNumber",defaultValue:a.cardNumber,onChange:c})]}),(0,ye.jsx)(qi,{})]})]}),(0,ye.jsxs)(_c.Footer,{children:[(0,ye.jsx)(Zo,{variant:"secondary",onClick:d,"data-modal":"close",children:"  \u0417\u0430\u043a\u0440\u044b\u0442\u044c "}),(0,ye.jsx)(Zo,{variant:"primary",onClick:f,"data-button":"save",children:" \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"})]})]}):(0,ye.jsx)(hc,{children:(y=h,y.map((e=>(0,ye.jsx)(hc.Item,{"data-item":e.lastName,onClick:f,children:(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:2,children:e.lastName}),(0,ye.jsx)(qi,{xs:2,children:e.firstName}),(0,ye.jsx)(qi,{xs:2,children:e.middleName}),(0,ye.jsx)(qi,{xs:2,children:e.position.posName}),(0,ye.jsx)(qi,{xs:2,children:e.schedule.scheduleName}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"edit",variant:"primary",children:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"delete",variant:"danger",children:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c"})})]})},e.lastName))))})]}));var y};class Mc extends t.Component{render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)(wi,{children:(0,ye.jsx)("h1",{children:" \u0421\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432!!!"})}),(0,ye.jsx)(wi,{children:(0,ye.jsx)(Fc,{})})]})}}const Lc=Mc;class Ac extends t.Component{constructor(e){super(e),this.handleClose=this.handleClose.bind(this),this.state={show:!1,sucsess:!1,filename:String},this.selectFile=this.selectFile.bind(this),this.fileUpload=this.fileUpload.bind(this)}selectFile(e){this.setState({filename:e.target.files})}handleClose(){this.setState({show:!1})}fileUpload(e){e.preventDefault();const t=new FormData;let n=document.getElementById("fload").files[0];console.log(n),t.append("file",n);let r="".concat(document.location.protocol,"/upload/uploadempl");(new Headers).append("Cookie",document.cookie),fetch(r,{method:"POST",body:t}).then((e=>{e.ok?this.setState({sucsess:!0,show:!0}):this.setState({sucsess:!1,show:!0})})).catch((e=>{this.setState({sucsess:!1,show:!0})}))}render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)("h1",{children:" \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432!!"}),(0,ye.jsxs)(al,{method:"POST",encType:"multipart/form-data",children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(al.Group,{className:"mb-3 control50",children:[(0,ye.jsx)(al.Label,{children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u042d\u043a\u0441\u0435\u043b\u044c \u0444\u0430\u0439\u043b "}),(0,ye.jsx)(al.Control,{onChange:this.selectFile,type:"file",id:"fload",name:"file",size:"lg"})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:8})," ",(0,ye.jsx)(qi,{children:(0,ye.jsx)(Zo,{type:"submit",onClick:this.fileUpload,children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c "})})]})]}),this.state.sucsess?(0,ye.jsxs)(_c,{show:this.state.show,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsx)(_c.Title,{id:"contained-modal-title-vcenter",children:"Modal heading"})}),(0,ye.jsxs)(_c.Body,{children:[(0,ye.jsx)("h4",{children:"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438!"}),(0,ye.jsx)("p",{children:"  download        "})]}),(0,ye.jsx)(_c.Footer,{children:(0,ye.jsx)(Zo,{onClick:this.handleClose,children:"Close"})})]}):(0,ye.jsxs)(_c,{show:this.state.show,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsx)(_c.Title,{id:"contained-modal-title-vcenter",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c"})}),(0,ye.jsx)(_c.Body,{children:(0,ye.jsx)("h4",{children:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438!!"})}),(0,ye.jsx)(_c.Footer,{children:(0,ye.jsx)(Zo,{onClick:this.handleClose,children:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"})})]})]})}}const Ic=Ac;class zc extends t.Component{constructor(e){super(e),this.handleClose=this.handleClose.bind(this),this.state={show:!1,sucsess:!1,filename:String},this.selectFile=this.selectFile.bind(this),this.fileUpload=this.fileUpload.bind(this)}selectFile(e){this.setState({filename:e.target.files})}handleClose(){this.setState({show:!1})}fileUpload(e){e.preventDefault();const t=new FormData;let n=document.getElementById("fload").files[0];console.log(n),t.append("file",n);let r="".concat(document.location.protocol,"/upload/uploadnotworking");(new Headers).append("Cookie",document.cookie),fetch(r,{method:"POST",body:t}).then((e=>{e.ok?this.setState({sucsess:!0,show:!0}):this.setState({sucsess:!1,show:!0})})).catch((e=>{this.setState({sucsess:!1,show:!0})}))}render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)("h1",{children:" \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445!!"}),(0,ye.jsxs)(al,{method:"POST",encType:"multipart/form-data",children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(al.Group,{className:"mb-3 control50",children:[(0,ye.jsx)(al.Label,{children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u042d\u043a\u0441\u0435\u043b\u044c \u0444\u0430\u0439\u043b "}),(0,ye.jsx)(al.Control,{onChange:this.selectFile,type:"file",id:"fload",name:"file",size:"lg"})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:8})," ",(0,ye.jsx)(qi,{children:(0,ye.jsx)(Zo,{type:"submit",onClick:this.fileUpload,children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c "})})]})]}),this.state.sucsess?(0,ye.jsxs)(_c,{show:this.state.show,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsx)(_c.Title,{id:"contained-modal-title-vcenter",children:"Modal heading"})}),(0,ye.jsxs)(_c.Body,{children:[(0,ye.jsx)("h4",{children:"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438!"}),(0,ye.jsx)("p",{children:"  download        "})]}),(0,ye.jsx)(_c.Footer,{children:(0,ye.jsx)(Zo,{onClick:this.handleClose,children:"Close"})})]}):(0,ye.jsxs)(_c,{show:this.state.show,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsx)(_c.Title,{id:"contained-modal-title-vcenter",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c"})}),(0,ye.jsx)(_c.Body,{children:(0,ye.jsx)("h4",{children:"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438!!"})}),(0,ye.jsx)(_c.Footer,{children:(0,ye.jsx)(Zo,{onClick:this.handleClose,children:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"})})]})]})}}const Uc=zc;class Bc extends t.Component{render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)("h1",{children:" \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0421\u041a\u0423\u0414!!"}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(al.Group,{controlId:"formFileLg",className:"mb-3 control50",children:[(0,ye.jsx)(al.Label,{children:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c XML \u0444\u0430\u0439\u043b "}),(0,ye.jsx)(al.Control,{type:"file",size:"lg"})]}),(0,ye.jsx)(qi,{})]})]})}}const Qc=Bc,qc=Wu({name:"departaments",initialState:{departaments:[]},reducers:{addDept:(e,t)=>{console.log(e.departaments.length),e.departaments.push(t.payload)},deleteDept:(e,t)=>{e.departaments=e.departaments.filter((e=>e.id!==t.payload.id))},saveDept:(e,t)=>{e.departaments=e.departaments.filter((e=>e.id!==t.payload.id)),e.departaments.push(t.payload)}}}),{addDept:Wc,deleteDept:Hc,saveDept:Vc}=qc.actions,Kc=qc.reducer,$c=Wu({name:"jobs",initialState:{jobs:[]},reducers:{addJob:(e,t)=>{console.log(e.jobs.length),e.jobs.push(t.payload)},deleteJob:(e,t)=>{e.jobs=e.jobs.filter((e=>e.id!==t.payload.id))},saveJob:(e,t)=>{e.jobs=e.jobs.filter((e=>e.id!==t.payload.id)),console.log(t.payload.id),e.jobs.push(t.payload)}}}),{addJob:Gc,deleteJob:Xc,saveJob:Yc}=$c.actions,Jc=$c.reducer,Zc=Wu({name:"jobs",initialState:{sheds:[]},reducers:{addShed:(e,t)=>{console.log(e.sheds.length),e.sheds.push(t.payload)},deleteShed:(e,t)=>{e.sheds=e.sheds.filter((e=>e.id!==t.payload.id))},saveShed:(e,t)=>{e.sheds=e.sheds.filter((e=>e.id!==t.payload.id)),console.log(t.payload.id),e.sheds.push(t.payload)}}}),{addShed:ed,deleteShed:td,saveShed:nd}=Zc.actions,rd=Zc.reducer,ad=Wu({name:"notworks",initialState:{notworks:[]},reducers:{addNotWork:(e,t)=>{console.log(e.notworks.length),e.notworks.push(t.payload)},deleteNotWork:(e,t)=>{e.notworks=e.notworks.filter((e=>e.id!==t.payload.id))},saveNotWork:(e,t)=>{e.notworks=e.notworks.filter((e=>e.id!==t.payload.id)),e.notworks.push(t.payload)}}}),{addNotWork:od,deleteNotWork:id,saveNotWork:ld}=ad.actions,sd=function(e){const t=function(e){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:a=!0}=null!==e&&void 0!==e?e:{};let o=new _u;return t&&("boolean"===typeof t?o.push(Nu):o.push(Ou(t.extraArgument))),o},{reducer:n,middleware:r,devTools:a=!0,preloadedState:o,enhancers:i}=e||{};let l,s;if("function"===typeof n)l=n;else{if(!Su(n))throw new Error(nc(1));l=ju(n)}s="function"===typeof r?r(t):t();let u=Cu;a&&(u=Pu({trace:!1,..."object"===typeof a&&a}));const c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>(n,r)=>{const a=e(n,r);let o=()=>{throw new Error(gu(15))};const i={getState:a.getState,dispatch:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return o(e,...n)}},l=t.map((e=>e(i)));return o=Cu(...l)(a.dispatch),{...a,dispatch:o}}}(...s),d=Au(c);let f="function"===typeof i?i(d):d();return ku(l,o,u(...f))}({reducer:{employees:sc,departaments:Kc,jobs:Jc,sheds:rd,notworks:ad.reducer},devTools:!0});class ud extends t.Component{constructor(e){super(e),this.state={depart:{id:"",departName:"",boss:""}},this.handleCheck=this.handleCheck.bind(this),this.handleClose=this.handleClose.bind(this),this.handleSave=this.handleSave.bind(this),this.departName=t.createRef(),this.id=t.createRef(),this.boss=t.createRef()}handleSave(e){this.props.addDept({departName:this.state.depart.departName,boss:this.state.depart.boss,id:(new Date).getTime()}),this.setState({depart:{id:"",departName:"",boss:""}}),this.departName.current.value="",this.boss.current.value=""}handleCheck(e){this.setState({depart:{...this.state.depart,[e.target.name]:e.target.value}})}handleClose(){console.log(this.state.depart)}render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)("h1",{children:"\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u0430"}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"}),(0,ye.jsx)(al.Control,{ref:this.departName,"aria-label":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043e\u0442\u0434\u0435\u043b\u0430","aria-describedby":"departName",name:"departName",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c"}),(0,ye.jsx)(al.Control,{ref:this.boss,"aria-label":"\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c","aria-describedby":"boss",name:"boss",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(il,{"aria-label":"Departament added",children:[(0,ye.jsx)(Zo,{onClick:this.handleSave,variant:"primary",children:"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"}),(0,ye.jsx)(Zo,{onClick:this.handleClose,variant:"danger",children:"\u041e\u0442\u043c\u0435\u043d\u0430"})]}),(0,ye.jsx)(qi,{})]})]})}}const cd=cs(null,(e=>({addDept:t=>e(Wc(t))})))(ud),dd=async()=>{try{const e="".concat(document.location.protocol,"/depart/getall"),t=await fetch(e).then((e=>e.json()));return console.log("rest ok!!",t),t}catch(e){console.log(e.message)}},fd=()=>{const e=vs();bl((e=>e.departaments.departaments));const[n,r]=(0,t.useState)(!1),[a,o]=(0,t.useState)({id:"",departName:"",boss:""}),[i,l]=(0,t.useState)([]),s=e=>{(void 0).setDepart({...a,[e.target.name]:e.target.value})},u=()=>{r(!1)},c=t=>{const n=t.currentTarget.getAttribute("data-item");switch(t.target.getAttribute("data-button")){case"edit":let t=f.filter((e=>e.id==n))[0];o({...t}),r(!0);break;case"delete":e(Hc(n)),l([...i.filter((e=>e.id!==n))]);break;case"save":e(Vc([...i.filter((e=>e.id!==n)),a])),l([...i.filter((e=>e.id!==n)),a]),r(!1)}},{status:d,data:f,isFetching:p,error:h}=(0,Dc.useQuery)("getallDept",dd);if("loading"===d)return(0,ye.jsx)(ye.Fragment,{children:(0,ye.jsx)("div",{class:"d-flex justify-content-center",children:(0,ye.jsx)("div",{class:"spinner-border text-primary",role:"status",children:(0,ye.jsx)("span",{class:"visually-hidden",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})})})});if(console.log("stat ",f),"error"===d)return(0,ye.jsxs)("div",{children:["  \u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438   ",(0,ye.jsx)("h1",{})]});return(0,ye.jsxs)(wi,{children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:2,children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"}),(0,ye.jsx)(qi,{xs:2,children:"\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c"})]}),n?(0,ye.jsxs)(_c,{show:n,onHide:u,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsxs)(_c.Title,{children:["\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432\u0430\u0442\u044c ",a.depName]})}),(0,ye.jsxs)(_c.Body,{children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"}),(0,ye.jsx)(al.Control,{"aria-label":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","aria-describedby":"departName",name:"departName",defaultValue:a.depName,onChange:s})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c"}),(0,ye.jsx)(al.Control,{"aria-label":"\u0418\u043c\u044f","aria-describedby":"firstName",name:"firstName",defaultValue:a.boss,onChange:s})]}),(0,ye.jsx)(qi,{})]})]}),(0,ye.jsxs)(_c.Footer,{children:[(0,ye.jsx)(Zo,{variant:"secondary",onClick:u,"data-modal":"close",children:"  \u0417\u0430\u043a\u0440\u044b\u0442\u044c "}),(0,ye.jsx)(Zo,{variant:"primary",onClick:c,"data-item":a.id,"data-button":"save",children:" \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"})]})]}):(0,ye.jsx)(hc,{children:(m=f,m.map((e=>(0,ye.jsx)(hc.Item,{"data-item":e.id,onClick:c,children:(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:5,children:e.depName}),(0,ye.jsx)(qi,{xs:5,children:e.boss}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"edit",variant:"primary",children:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"delete",variant:"danger",children:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c"})})]})},e.id))))})]});var m};class pd extends t.Component{render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)(wi,{children:(0,ye.jsx)("h1",{children:" \u0421\u043f\u0438\u0441\u043e\u043a \u043e\u0442\u0434\u0435\u043b\u043e\u0432!!!"})}),(0,ye.jsx)(wi,{children:(0,ye.jsx)(fd,{})})]})}}const hd=pd,md=async()=>{try{const e="".concat(document.location.protocol,"/notworking/getall"),t=await fetch(e).then((e=>e.json()));return console.log("rest ok!!",t),t}catch(e){console.log(e.message)}},vd=()=>{const e=vs();bl((e=>e.departaments.departaments));const[n,r]=(0,t.useState)(!1),[a,o]=(0,t.useState)({id:"",typeName:"",workDay:"",beginDate:"",endDate:"",employee:{}}),[i,l]=(0,t.useState)([]),s=e=>{(void 0).setNotWork({...a,[e.target.name]:e.target.value})},u=()=>{r(!1)},c=t=>{const n=t.currentTarget.getAttribute("data-item");switch(t.target.getAttribute("data-button")){case"edit":let t=f.filter((e=>e.id==n))[0];o({...t}),r(!0);break;case"delete":e(id(n)),l([...i.filter((e=>e.id!==n))]);break;case"save":e(ld([...i.filter((e=>e.id!==n)),a])),l([...i.filter((e=>e.id!==n)),a]),r(!1)}},{status:d,data:f,isFetching:p,error:h}=(0,Dc.useQuery)("getallDept",md);if("loading"===d)return(0,ye.jsx)(ye.Fragment,{children:(0,ye.jsx)("div",{class:"d-flex justify-content-center",children:(0,ye.jsx)("div",{class:"spinner-border text-primary",role:"status",children:(0,ye.jsx)("span",{class:"visually-hidden",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})})})});if(console.log("stat ",f),"error"===d)return(0,ye.jsxs)("div",{children:["  \u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438   ",(0,ye.jsx)("h1",{})]});return(0,ye.jsxs)(wi,{children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:2,children:"\u0424\u0418\u041e"}),(0,ye.jsx)(qi,{xs:2,children:"\u041f\u0440\u0438\u0447\u0438\u043d\u0430"}),(0,ye.jsx)(qi,{xs:2,children:"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0431. \u0434\u043d\u0435\u0439"}),(0,ye.jsx)(qi,{xs:2,children:"\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435  \u0441 "}),(0,ye.jsx)(qi,{xs:2,children:"\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0434\u043e"})]}),n?(0,ye.jsxs)(_c,{show:n,onHide:u,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsxs)(_c.Title,{children:["\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432\u0430\u0442\u044c ",depart.depName]})}),(0,ye.jsxs)(_c.Body,{children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"}),(0,ye.jsx)(al.Control,{"aria-label":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","aria-describedby":"departName",name:"departName",defaultValue:depart.depName,onChange:s})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c"}),(0,ye.jsx)(al.Control,{"aria-label":"\u0418\u043c\u044f","aria-describedby":"firstName",name:"firstName",defaultValue:depart.boss,onChange:s})]}),(0,ye.jsx)(qi,{})]})]}),(0,ye.jsxs)(_c.Footer,{children:[(0,ye.jsx)(Zo,{variant:"secondary",onClick:u,"data-modal":"close",children:"  \u0417\u0430\u043a\u0440\u044b\u0442\u044c "}),(0,ye.jsx)(Zo,{variant:"primary",onClick:c,"data-item":depart.id,"data-button":"save",children:" \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"})]})]}):(0,ye.jsx)(hc,{children:(m=f,m.map((e=>(0,ye.jsx)(hc.Item,{"data-item":e.id,onClick:c,children:(0,ye.jsxs)(wi,{children:[(0,ye.jsxs)(qi,{xs:2,children:[e.employee.firstName," ",e.employee.middleName," ",e.employee.lastName]}),(0,ye.jsx)(qi,{xs:2,children:e.typeName}),(0,ye.jsx)(qi,{xs:2,children:e.workDay}),(0,ye.jsx)(qi,{xs:2,children:e.beginDate}),(0,ye.jsx)(qi,{xs:2,children:e.endDate}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"edit",variant:"primary",children:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"delete",variant:"danger",children:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c"})})]})},e.id))))})]});var m};class yd extends t.Component{render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)(wi,{children:(0,ye.jsx)("h1",{children:" \u0421\u043f\u0438\u0441\u043e\u043a \u043d\u0435\u044f\u0432\u043e\u043a!!!"})}),(0,ye.jsx)(wi,{children:(0,ye.jsx)(vd,{})})]})}}const gd=yd;class bd extends t.Component{constructor(e){super(e),this.state={job:{id:"",jobName:""}},this.handleCheck=this.handleCheck.bind(this),this.handleClose=this.handleClose.bind(this),this.handleSave=this.handleSave.bind(this),this.jobName=t.createRef(),this.id=t.createRef()}handleSave(e){this.props.addJob({jobName:this.state.job.jobName,id:(new Date).getTime()}),this.setState({job:{id:"",jobName:""}}),this.jobName.current.value=""}handleCheck(e){this.setState({job:{...this.state.job,[e.target.name]:e.target.value}})}handleClose(){console.log(this.state.job)}render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)("h1",{children:"\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0439 \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u0438"}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"}),(0,ye.jsx)(al.Control,{ref:this.jobName,"aria-label":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u0438","aria-describedby":"jobName",name:"jobName",onChange:this.handleCheck})]}),(0,ye.jsx)(qi,{})]}),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(il,{"aria-label":"Departament added",children:[(0,ye.jsx)(Zo,{onClick:this.handleSave,variant:"primary",children:"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"}),(0,ye.jsx)(Zo,{onClick:this.handleClose,variant:"danger",children:"\u041e\u0442\u043c\u0435\u043d\u0430"})]}),(0,ye.jsx)(qi,{})]})]})}}const xd=cs(null,(e=>({addJob:t=>e(Gc(t))})))(bd),wd=async()=>{try{const e="".concat(document.location.protocol,"/position/getall");console.log(e);const t=await fetch(e).then((e=>e.json()));return console.log("rest ok!!",t),t}catch(e){return console.log("Exeption get resource",e.message),[]}},Sd=()=>{const e=vs();bl((e=>e.jobs.jobs));const[n,r]=(0,t.useState)(!1),[a,o]=(0,t.useState)([]),[i,l]=(0,t.useState)({id:"",posName:""}),s=()=>{r(!1)},u=t=>{const n=t.currentTarget.getAttribute("data-item");switch(t.target.getAttribute("data-button")){case"edit":let t=f.filter((e=>e.id==n))[0];console.log(t),l({...t}),r(!0);break;case"delete":e(Xc(n)),o([...a.filter((e=>e.id!==n))]),c(n);break;case"save":e(Yc({...(void 0).state.job})),l([...a.filter((e=>e.id!=n)),{...i}]),r(!1)}},c=e=>{(0,Dc.useMutation)((t=>{t.preventDefault(),(async e=>{try{const t="".concat(document.location.protocol,"/position/delemployee/").concat(e),n=await fetch(t,{method:"DELETE"});if(!n.ok)throw new Error("\u041e\u0448\u0438\u0431\u043a\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430");return n}catch(t){console.log(t.message)}})(e)}))},{status:d,data:f,isFetching:p,error:h}=(0,Dc.useQuery)("getallDept",wd);return"loading"===d?(0,ye.jsx)(ye.Fragment,{children:(0,ye.jsx)("div",{class:"d-flex justify-content-center",children:(0,ye.jsx)("div",{class:"spinner-border text-primary",role:"status",children:(0,ye.jsx)("span",{class:"visually-hidden",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})})})}):"error"===d?(0,ye.jsx)("div",{children:(0,ye.jsx)("h1",{children:" \u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 "})}):(console.log(n),(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(wi,{children:(0,ye.jsx)(qi,{xs:2,children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"})}),n?(0,ye.jsxs)(_c,{show:n,onHide:s,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsxs)(_c.Title,{children:["\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c ",i.posName]})}),(0,ye.jsxs)(_c.Body,{children:[(0,ye.jsx)("input",{name:"positionid",type:"hidden",value:i.id}),(0,ye.jsx)(wi,{children:(0,ye.jsxs)(Oi,{className:"mb-6",children:[(0,ye.jsx)(Oi.Text,{children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"}),(0,ye.jsx)(al.Control,{sm:8,"aria-label":"\u041d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435","aria-describedby":"jobName",name:"jobName",defaultValue:i.posName,onChange:e=>{l({...i,[e.target.name]:e.target.value})}})]})})]}),(0,ye.jsxs)(_c.Footer,{children:[(0,ye.jsx)(Zo,{variant:"secondary",onClick:s,"data-modal":"close",children:"  \u0417\u0430\u043a\u0440\u044b\u0442\u044c "}),(0,ye.jsx)(Zo,{variant:"primary",onClick:u,"data-item":i.id,"data-button":"save",children:" \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"})]})]}):(0,ye.jsx)(hc,{children:(m=f,m.map((e=>(0,ye.jsx)(hc.Item,{"data-item":e.id,onClick:u,children:(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:10,children:e.posName}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"edit",variant:"primary",children:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"delete",variant:"danger",children:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c"})})]})},e.id))))})]}));var m};class kd extends t.Component{render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)(wi,{children:(0,ye.jsx)("h1",{children:" \u0421\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u0435\u0439!!!"})}),(0,ye.jsx)(wi,{children:(0,ye.jsx)(Sd,{})})]})}}const jd=kd,Cd=async()=>{try{const e="".concat(document.location.protocol,"/workschedule/getall"),t=await fetch(e).then((e=>e.json()));return console.log("rest ok!!",t),t}catch(e){return console.log("Exeption rest",e.message),[]}},Ed=()=>{const e=vs(),[n,r]=(0,t.useState)(!1),[a,o]=(0,t.useState)({id:null,scheduleName:""}),[i,l]=(bl((e=>e.sheds.sheds)),(0,t.useState)([])),s=e=>{(0,Dc.useMutation)((t=>{t.preventDefault(),(async e=>{try{const t="".concat(document.location.protocol,"/workschedule/deleteworkschedule/").concat(e),n=await fetch(t,{method:"DELETE"});if(!n.ok)throw new Error("\u041e\u0448\u0438\u0431\u043a\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430");return n}catch(t){console.log(t.message)}})(e)}))},u=()=>{r(!1)},c=t=>{console.log("editAndDelete");const n=t.currentTarget.getAttribute("data-item");switch(t.target.getAttribute("data-button")){case"edit":let t=f.filter((e=>e.id==n))[0];o({...t}),r(!0);break;case"delete":s(n),o([...i.filter((e=>e.id!==n))]);break;case"save":o([...i.filter((e=>e.id!==a.id)),{...staff}]),e(saveShedule({...a})),r(!1)}},{status:d,data:f,isFetching:p,error:h}=(0,Dc.useQuery)("getall",Cd);return"loading"===d?(0,ye.jsx)(ye.Fragment,{children:(0,ye.jsx)("div",{class:"d-flex justify-content-center",children:(0,ye.jsx)("div",{class:"spinner-border text-primary",role:"status",children:(0,ye.jsx)("span",{class:"visually-hidden",children:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430..."})})})}):(console.log("stat ",f),"error"===d?(0,ye.jsxs)("div",{children:["  \u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438   ",(0,ye.jsx)("h1",{})]}):(0,ye.jsxs)(wi,{children:[(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:10,children:"\u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0431\u043e\u0442\u044b"}),"  ",(0,ye.jsx)(qi,{xs:2})]}),n?(0,ye.jsxs)(_c,{show:n,onHide:u,size:"lg","aria-labelledby":"contained-modal-title-vcenter",centered:!0,children:[(0,ye.jsx)(_c.Header,{closeButton:!0,children:(0,ye.jsxs)(_c.Title,{children:["\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432\u0430\u0442\u044c ",a.scheduleName]})}),(0,ye.jsx)(_c.Body,{children:(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{}),(0,ye.jsxs)(Oi,{className:"mb-3",children:[(0,ye.jsx)(Oi.Text,{children:"\u0424\u0430\u043c\u0438\u043b\u0438\u044f"}),(0,ye.jsx)(al.Control,{"aria-label":"\u0424\u0430\u043c\u0438\u043b\u0438\u044f","aria-describedby":"lastName",name:"lastName",defaultValue:a.scheduleName,onChange:e=>{o({...a,[e.target.name]:e.target.value})}})]}),(0,ye.jsx)(qi,{})]})}),(0,ye.jsxs)(_c.Footer,{children:[(0,ye.jsx)(Zo,{variant:"secondary",onClick:u,"data-modal":"close",children:"  \u0417\u0430\u043a\u0440\u044b\u0442\u044c "}),(0,ye.jsx)(Zo,{variant:"primary",onClick:c,"data-button":"save",children:" \u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"})]})]}):(0,ye.jsx)(hc,{children:(m=f,m.map((e=>(0,ye.jsx)(hc.Item,{"data-item":e.id,onClick:c,children:(0,ye.jsxs)(wi,{children:[(0,ye.jsx)(qi,{xs:10,children:e.scheduleName}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"edit",variant:"primary",children:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})}),(0,ye.jsx)(qi,{xs:1,children:(0,ye.jsx)(Zo,{"data-button":"delete",variant:"danger",children:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c"})})]})},e.id))))})]}));var m};class Nd extends t.Component{render(){return(0,ye.jsxs)(Oe,{children:[(0,ye.jsx)(yi,{}),(0,ye.jsx)(wi,{children:(0,ye.jsx)("h1",{children:" \u0413\u0440\u0430\u0444\u0438\u043a\u0438 \u0440\u0430\u0431\u043e\u0442\u044b!!!!"})}),(0,ye.jsx)(wi,{children:(0,ye.jsx)(Ed,{})})]})}}const Od=Nd,Pd=new Dc.QueryClient;const Rd=function(){return(0,ye.jsx)(Dc.QueryClientProvider,{client:Pd,children:(0,ye.jsx)(ds,{store:sd,children:(0,ye.jsxs)(pe,{children:[(0,ye.jsx)(de,{path:"/",element:(0,ye.jsx)(bi,{})}),(0,ye.jsx)(de,{path:"/addEmployee",element:(0,ye.jsx)(cc,{})}),(0,ye.jsx)(de,{path:"/addDepartament",element:(0,ye.jsx)(cd,{})}),(0,ye.jsx)(de,{path:"/addJob",element:(0,ye.jsx)(xd,{})}),(0,ye.jsx)(de,{path:"/listEmployee",element:(0,ye.jsx)(Lc,{})}),(0,ye.jsx)(de,{path:"/listDepartament",element:(0,ye.jsx)(hd,{})}),(0,ye.jsx)(de,{path:"/listJobs",element:(0,ye.jsx)(jd,{})}),(0,ye.jsx)(de,{path:"/listShedule",element:(0,ye.jsx)(Od,{})}),(0,ye.jsx)(de,{path:"/listNotWorks",element:(0,ye.jsx)(gd,{})}),(0,ye.jsx)(de,{path:"/uploadEmployee",element:(0,ye.jsx)(Ic,{})}),(0,ye.jsx)(de,{path:"/uploadSKUD",element:(0,ye.jsx)(Qc,{})}),(0,ye.jsx)(de,{path:"/uploadAbsentees",element:(0,ye.jsx)(Uc,{})})]})})})},_d=e=>{e&&e instanceof Function&&n.e(453).then(n.bind(n,453)).then((t=>{let{getCLS:n,getFID:r,getFCP:a,getLCP:o,getTTFB:i}=t;n(e),r(e),a(e),o(e),i(e)}))};a.createRoot(document.getElementById("root")).render((0,ye.jsx)(t.StrictMode,{children:(0,ye.jsx)(ci,{children:(0,ye.jsx)(Rd,{})})})),_d()})()})();
//# sourceMappingURL=main.fa8c3043.js.map